Headless payment flow for payment service providers

Edit on GitHub

The following diagram explains the flow of a headless payment page based on Glue API.

headless-payment-flow

CancelPreOrderPayment is an optional element. It’s used to cancel a payment that had been created before an order was persisted. This can happen when a customer clicks cancel or when a headless implementation requires a cancellation.