SessionDropInServiceContract

Functions

Link copied to clipboard
open fun onAdditionalDetails(actionComponentData: ActionComponentData): Boolean

Override this method if you want to take over the sessions flow and make a network call to the /payments/details endpoint of the Checkout API through your server.

Link copied to clipboard
open fun onBalanceCheck(paymentComponentState: PaymentComponentState<*>): Boolean

Only applicable for partial payments flow.

Link copied to clipboard
open fun onOrderCancel(order: Order, shouldUpdatePaymentMethods: Boolean): Boolean

Only applicable for partial payments flow.

Link copied to clipboard

Only applicable for partial payments flow.

Link copied to clipboard

Override this method if you want to take over the sessions flow and make a network call to the /payments endpoint of the Checkout API through your server.