Place a renewal order
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/Debit cards: Visa, Visa Electron, MasterCard, Maestro, Amex, Discover, Dankort, Carte Bleue, JCB. 2Checkout supports local Brazilian cards.
PayPal and PayPal Express
Purchase Order
Wire
Check
WeChat Pay
iDEAL
Alipay
Trustly
ApplePay
2Pay.js
Boleto/Pix
Google Pay
TEST orders
Free orders (no payment information required)
Previous order references - In addition to the payment methods enumerated above, 2Checkout also supports 1-click purchase flows in which you use valid previous order references belonging to returning customers to pay for new orders with their previously used cards and PayPal accounts.
Order with installments
Use the PaymentDetails object to change the payment method used in the ordering process.
Request parameters
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 sessionID expires 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.
SubscriptionReference
Required (String)
2Checkout generated subscription reference number. E.q. A8C5671BFE.
Request sample
Response parameters
Object
Last updated
Was this helpful?