PrimerHeadlessUniversalCheckoutDelegate
in order to receive callbacks from Primer SDK.
Callbacks can be used for managing the customer journey and trigger actions after specific events throughout the payment journey. See below for a breakdown of all callbacks supported within the Primer SDK.
token
to create a payment on your backend. Make sure that you call the decisionHandler
once your operation has been completed.
⚠️ This method will be called when you are using manual payment handling, or the vault manager.
resumeToken
so you can resume the payment.
PrimerPaymentHandling.MANUAL
flow and when
the payment is in a PENDING state.PrimerPaymentHandling.auto
flow.PrimerPaymentHandling.auto
flow.PrimerCheckoutData
if the error occurs after the payment creation.
auto
flow.