Przejdź do głównej zawartości

PaymentInitiationFlow

How the storefront should launch the payment after paymentCreate. ONLINE_REDIRECT = redirect the browser to redirectUrl. ONLINE_EMBEDDED = render an in-page widget using clientSecret. INSTANT_DIRECT = the payment is already settled, check status. OFFLINE_MANUAL never appears here — when the order uses an offline method canCreatePayment is false and paymentCreate is not called.

enum PaymentInitiationFlow {
INSTANT_DIRECT
OFFLINE_MANUAL
ONLINE_EMBEDDED
ONLINE_REDIRECT
}

Values

PaymentInitiationFlow.INSTANT_DIRECT

PaymentInitiationFlow.OFFLINE_MANUAL

PaymentInitiationFlow.ONLINE_EMBEDDED

PaymentInitiationFlow.ONLINE_REDIRECT

Member Of

PaymentSession object