To make sure you perform the recurring or one-click payment functionalities properly, we drafted scenarios for both type of payments:
- One click – Customer pays by previously stored (tokenized) card
- Recurring – Merchant charges previously stored (tokenized) customer card
One click – payment is initiated by the customer. Customer registers the card that will be used for future payments:
- step 1 - card registration - by using the SecurePay method as explained on https://allsecure.docs.oppwa.com/tutorials/integration-guide but IN ADDITION to regular transaction, one more parameter is sent with the transaction i.e : createRegistration=true
- step 2 - one click payment - by usingn Server2Server method explained on: https://allsecure.docs.oppwa.com/tutorials/server-to-server/one-click-payment-guide . Please make sure to read the section 3. SEND THE PAYMENT.
Recurring – Transaction initiated by the Merchant. In this scenario the Customer authorizes the Merchant to store (tokenize) his/her card data and authorizes the Merchant to charge this card for future payments (details agreed prevously between customer and merchant)
- step 1 - initiall payment – by using the method explained on https://allsecure.docs.oppwa.com/tutorials/integration-guide, but IN ADDITION to regular transaction, one more parameter is sent with the transaction i.e : createRegistration=true
- step 2 - all future (recurring) payments by using : https://allsecure.docs.oppwa.com/tutorials/manage-payments/recurring. Please meke sure to read the section "SENDING A REPEATED PAYMENT" (bottom of the page.)