PrimerCheckoutListener
in order to receive different 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.
PrimerPaymentHandling.MANUAL
flow, or the
PrimerSessionIntent.VAULT
session
intent.PrimerPaymentHandling.AUTO
flow. Please note,
that if you override
this method, you must call one of the
decisionHandler’s methods.PrimerPaymentHandling.AUTO
flow.token
to create a payment on your backend.
Make sure that you call the decisionHandler
once your operation has been completed.
PrimerPaymentHandling.MANUAL
flow, or the
PrimerSessionIntent.VAULT
session
intent.resumeToken
so you can resume the payment.
PrimerPaymentHandling.MANUAL
flow and when the
payment is in a PENDING state.PrimerPaymentHandling.MANUAL
flow.PrimerCheckoutData
if the error occurs after the payment creation.
override
this method, you must call the errorHandler
to finalize the flow.