interface PrimerCheckoutData {
payment?: PrimerCheckoutDataPayment;
additionalInfo?: PrimerCheckoutAdditionalInfo;
}
interface PrimerCheckoutDataPayment {
id?: string;
orderId?: string;
paymentFailureReason?: PrimerPaymentErrorCode;
}
enum PrimerPaymentErrorCode {
FAILED = "payment-failed",
CANCELLED_BY_CUSTOMER = "cancelled-by-customer",
}
Hide Properties
Show Properties
payment-failed
which is an error from the PSP side, or cancelled-by-customer
which means the failure initiated on the customer side. I.e. cancelling a 3DS flow.Show Variations