Workflow payment after authorization

The general workflows for authorization is this:

  1. The merchant obtains the available payment methods, and offers them to the customer.

  2. The merchant creates a payment transaction with "payment_action": "sale", and directs the customer to the payment iframe. The customer only authorizes the payment here.

  3. The merchant receives the customer back at the success URL.

  4. The merchant prompts the customer for final closure, and then asks for capture, except for invoice payment.

If the payment status is accepted everything is ready for delivery. But it is also possible you need to wait for the payment.

If it is invoice payment, the merchant adds every delivery, and asks for capture together with the final delivery.

If something went wrong, the customer is directed to the failure URL. It is also possible, the customer is neither directed to the success URL nor to the failure URL.