I’m trying to implement the following scenario:
User approves a recurrent weekly payment (subscription) for a selected package size
Every week the user can:
a. Cancel a specific week delivery and avoid paying for this week
b. Modify the package size and pay less/more for this time only
c. Add additional items and get charged for them in addition to theweekly package
Looking at the documentation I did not find the APIs that allowing me to modify the subscription according to my needs.
Can someone please direct me to the right documentation or provide a code snippet?
Thanks,
Yossi
I think this is unsupported. You may wish to look into subscription management services like Spreedly and Zuora.com for these use cases.
I don't believe this is possible. I'm trying to implement a similar thing. What I've tried is to issue a subscription modification with a free trial period. But it seems that the trial period parameters (a1,t1,p1) are ignored on a subscription modification. I've found some (unofficial) references that free periods cannot be inserted into an existing subscription, which is exactly what we need.
I'm pretty bummed this isn't supported. I cannot think of a clean way around it.
Related
We are building a Solana based application which will mint Semi-Fungible tokens (for Fungible Assets) let people trade them.
What we want next is to add metadata to this mint through which we are also going to set the creators and the seller fee basis points for royalty payments. We know how to do this and we have done it.
Anyway, the problem is the following: all the docs available on Metaplex we’ve seen are revolving around NFTs, Master Editions, Printing Editions, Auctions, etc. - which is not the case for us as we need to mint more than one token from the same mint.
The most important thing is to manage to benefit from the royalty fees each time shares are being traded on the secondary market. So we don't need auctions, vaults or other mechanisms like these.
Initially, we were thinking about Serum, but we don’t know whether
Serum also takes care of transferring the royalty fee to the
creators when the funds are settled.
After Serum, we’ve looked at the examples in the Metaplex
documentation about Metaplex Storefronts, but, as I said above, that
was really focusing on NFTs, Master Editions, Printing Editions,
Auctions, etc. - which don’t seem to fit our use case of Fungible
Asset. Maybe can this be customized for our Fungible Assets use case
somehow?
Would you be so kind to help us clear up a little bit what approach is the best for our use case and our needs?
Serum v4 (not released on mainnet yet) does support Metaplex royalties (see this commit). It should be released on mainnet in the coming weeks/month.
I am not aware of any other smart contract on Solana which supports this feature. However, you could probably create your own fork of an open source AMM and add a logic similar to the commit above.
How to programmatically (not manually with our PayPal dashboard) bill (every month) a PayPal subscriber of our service for a non-fixed-amount Automatic Billing?
I would recommend PayPal's Reference Transactions to achieve your purpose. Please check below link for its details.
https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECReferenceTxns/
The Classic APIs aren't going away for a long time. They have way too many solutions currently integrated with it, and the newer REST APIs do not currently support all the features that Classic does. For example, reference transactions are not currently supported in the REST API, so you'll have to use Classic for what you want as of today anyway. They have said they'll be adding reference transactions to REST sometime this year, but I've heard that about other things before and it generally takes longer than planned.
I am personally sticking with Classic for most of my applications as of today.
I have a website where people do simple cognitive psychology experiments. Currently, people volunteer. To increase numbers of responses, I would like to offer micropayments in a manner similar to Mechanical Turk*.
My question is, What would would be the best system to use to make these payments? I would guess that both paypal and flattr would be options. Has anyone with experience with setting up a micropayment system like this be able to offer advice?
cheers,
Mark
*I am not thinking about using mechanical turk itself, just because I do not think I would be able to control the web based studies exactly I would need.
Flattr would work in your scenario:
Each person doing the test would need a Flattr account.
They’d need to login with their Flattr account on your site (like on fundd.de) or connect your site with their Flattr (easy with OAuth).
Once they’ve taken the test you manually Flattr them and by controlling your monthly budget you control how much each click is worth.
Our API makes setting this up fairly easy and straightforward http://developers.flattr.net/
Downsides:
Required to sign up with an additional service.
Flattr currently caps monthly spending at €100 so if you have lots and lots of testers you’d run into problems of making the payment high enough. We are reconsidering this, at least for users in good standing.
Monetary incentives for testers bring in a different crowd and can influence the results of their tests but you probably already know that.
Cheers,
Teller
PS. I work at Flattr.
Does anyone know how to test the callback for In-App Currency Offers that were just released by facebook other than completing the offers themselves? As I need to see if my modifications are correct before I use them on a live app.
Facebook does not provide a code sample or even a clear explanation on how to test.
Unfortunately, there is no option for sending a test callback or anything like that - especially maddening because TrialPay does (or at least used to) offer this functionality for non-Facebook integrations of their product.
There are free offers & surveys, which are somewhat unreliable in their own right, but may be preferable to actually spending money - kinda depends on how much you value your time. Sure, this is less than ideal, but it's what we've got.
I find myself doing quite a bit of testing lately using FIX messages as test data, and especially for testing, I need to make frequent, small changes. E.g. right now I would like to use one FIX message supplied by business, to test commission calculations on various allocation amounts. To change price, quantity, or commission, I would have to recalculate the message checksum, and the body length. Is there a simple tool I can use that will just do this for me?
You can use Verifix tools.They usually come with a month of free use for trial packages. They are a good option if you want their software. They provide FIX tools for simulating real time environments and are quite good. I am saying this after having used their tools.
ValidFix is an online tool for checking for the validity of the FIX messages.
Our UK based company Cynapps limited makes low-cost lightweight applications for this exact purpose. You can have a look at http://www.cynapps.net/intellioms/. All products have a free trial and we're a friendly bunch of people!