I understand that products need to be created in 2CO. We just need to pass the product ID and the amount is dynamically fetched from the 2CO product database, and is charged to the user. What is needed here is recurring payments. From the study I have understood that the product can be set as recurring. So if I enable this setting from 2CO, the user who has signed in will automatically be charged at the end of the recurring period.
The problem here is, that during the subscription period, a user can upgrade to a higher product ID. In that case, we calculate the difference amount and charge the user the same. Since this amount may vary from user to user depending on the amount of months left for his current subscription to get over, the amount is dynamic, and thus we need to pass a higher product ID to 2CO, but with a CUSTOM amount. We have tried doing that, but 2CO fetches the amount of the higher product ID from the 2CO database and ignores the custom amount that we passed. Is there a way to accomplish this?
I need to also set the new (higher) product subscription to go recurring and the previous product subscription (which was also recurring) to get cancelled, when the user wishes to upgrade.
Can you please let us know, if these issues can be addressed by 2CO?
You need to login in order to make a new post. If you do not have a community account, you can get one here.
Charge custom amount for a product
July 31st, 2008, by: bnsuserYou need to login before leaving a comment If you do not have an account, you can register one here.
1 Comment »
+0
-0
Hello there!
The Plug-n-Play parameter set is the only one that will work with recurring products, which requires product details to be specified under your 2Checkout account, so there is not a way to actually specify an amount by passing it in. Any new price or other change to any recurring product will require the subscribing customer to first have their current subscription canceled and then have the customer order that product again with the product’s new details.