Making recurring payments (subscription) 'createSubscription'
The createSubscription operation allows to make recurring payments (subscription).
It requires an existing and valid token.
The token can be created via:
- the createToken operation,
- by form (see Implementation guideHosted Payment Page).
When the createSubscription operation is created, the payment gateway automatically processes the installments. To be notified about the result of an installment, the merchant must configure the Instant Payment Notification URL when creating a recurring payment rule in their Expert Back Office (see chapter Setting up notifications of the Implementation guideHosted Payment Page...).
Frequent errors when creating recurring payments:
- The provided token (identifier) does not exist, is canceled or suspended.
- The effective date (effectDate attribute of the subscriptionRequest object) has passed.
An error code will be returned.