Managing tokens via the payment form
The payment form allows to make the following operations classified according to different cases.
Each of these cases corresponds to a different value of the vads_page_action field.
|Use case||Value of the vads_page_action field|
|Creation of a token without payment||REGISTER|
|Update of information associated with the token||REGISTER_UPDATE|
|Creation of a token during a payment||REGISTER_PAY|
|Creation of a token during a recurring payment||REGISTER_SUBSCRIBE|
|Creation of a token during creation of a recurring payment with payment||REGISTER_ PAY_SUBSCRIBE|
|Payment by token||PAYMENT|
|Using a token to create a recurring payment||SUBSCRIBE|
|Update of information associated with the token during a payment||REGISTER_UPDATE_PAY|
Depending on the use case (value of the vads_page_action field), the payment process from the buyer's point of view will be different on the payment page.