UNPKG

medusa-payment-phonepe

Version:
29 lines 1.47 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PaymentStatusCodeValues = exports.PaymentProviderKeys = exports.ErrorIntentStatus = exports.ErrorCodes = void 0; exports.ErrorCodes = { PAYMENT_INTENT_UNEXPECTED_STATE: "payment_intent_unexpected_state", UNSUPPORTED_OPERATION: "unsupported_operation", }; exports.ErrorIntentStatus = { SUCCEEDED: "succeeded", CANCELED: "canceled", }; exports.PaymentProviderKeys = { PHONEPE: "phonepe", }; var PaymentStatusCodeValues; (function (PaymentStatusCodeValues) { PaymentStatusCodeValues["BAD_REQUEST"] = "BAD_REQUEST"; PaymentStatusCodeValues["AUTHORIZATION_FAILED"] = "AUTHORIZATION_FAILED"; PaymentStatusCodeValues["INTERNAL_SERVER_ERROR"] = "INTERNAL_SERVER_ERROR"; PaymentStatusCodeValues["TRANSACTION_NOT_FOUND"] = "TRANSACTION_NOT_FOUND"; PaymentStatusCodeValues["PAYMENT_ERROR"] = "PAYMENT_ERROR"; PaymentStatusCodeValues["PAYMENT_PENDING"] = "PAYMENT_PENDING"; PaymentStatusCodeValues["PAYMENT_DECLINED"] = "PAYMENT_DECLINED"; PaymentStatusCodeValues["TIMED_OUT"] = "TIMED_OUT"; PaymentStatusCodeValues["PAYMENT_SUCCESS"] = "PAYMENT_SUCCESS"; PaymentStatusCodeValues["PAYMENT_CANCELLED"] = "PAYMENT_CANCELLED"; PaymentStatusCodeValues["PAYMENT_INITIATED"] = "PAYMENT_INITIATED"; })(PaymentStatusCodeValues = exports.PaymentStatusCodeValues || (exports.PaymentStatusCodeValues = {})); //# sourceMappingURL=types.js.map