Alokai

HandlePaymentResult

Result of the handlePayment() method call.

export interface HandlePaymentResult {
	confirmPaymentResponse: PaymentIntentResult;
	paymentAndOrder: PaymentAndOrder;
}

Properties

NameRequiredTypeDescription
confirmPaymentResponseRequiredPaymentIntentResultResult of the Payment Intent confirmation. In case of a failed payment, it contains a StripeError object.
paymentAndOrderRequiredPaymentAndOrderAn object containing instances of commercetools Payment and Order objects created during the payment flow.

Referenced Types

  • PaymentIntentResult
  • PaymentAndOrder

On this page