Implementation
Step 1: Present a new mandate for signature.
The mandate does not exist yet. You must proceed to the signature of a new mandate by following these steps:
- Establish interaction with the payment gateway.
Please see chapter Establishing interaction with the payment gateway.
- Configure notification rules.
You must configure at least the notification rule at the end of payment and in case of an abandoned payment.
Please see chapter Setting up notifications.
- Generate the payment form.
The procedure is described in the chapter Registering a recurring mandate and creating a recurring payment with fixed due dates and amounts.
- redirect the buyer to the payment page.
Please follow the instructions in the chapter Redirecting the buyer to the payment page.
- analyze the notification.
The specific data transmitted during the notification are indicated in the chapter Analyzing the result of a flat-rate subscription request.
The subscription can be defined via the payment form by setting the vads_page_action field to SUBSCRIBE.
Interaction with the Buyer is limited, this use case is of little interest and is not described in this document. Instead, use the methods presented below.
Step 2: Create the direct debit order.
The payment gateway automatically creates transactions on the date that is most suitable for respecting the due date defined by the recurrence rule.
- Configure the appropriate notification rule
Please see chapter Setting up a notification upon creating a recurring payment.
- Analyze the notification
The specific data transmitted during the notification are indicated in the chapter Analyzing the result of an installment payment.
Step 3: Follow up on direct debit processing.
Please see chapter Following the processing of your direct debits.