Renew a subscription and collect recurring revenue using the 2Checkout Subscription Reference. You can renew subscriptions for both catalog and dynamic products.
Requirements
To place a renewal order, you need to provide a valid subscription reference number.
Payment methods
You can place renewal orders using the following payment methods:
Credit cards
PayPal
WeChat Pay
iDEAL
Purchase Order
Wire
Use the PaymentDetails object to change the payment method used in the ordering process.
Request parameters
Parameter
Type / Description
sessionID
Required (string)
Session identifier, the output of the Login method. Include sessionID into all your requests. 2Checkout throws an exception if the values are incorrect. The sessionIDexpires in 10 minutes.
Required (object)
Object designed to collect all data necessary for an order, including billing, product/subscription plan and payment details.
To place an order with PayPal rather than PayPal Express, use PAYPAL as the type of the PaymentDetails object and send the shopper email and a return URL as part of the PaymentMethod object. See code sample.