UNPKG

@sergdudko/stripe-js

Version:

Supercharge Your Stripe Integration with Enhanced Methods for stripe-js: Take Full Control of Customer Card Management Right from Your Frontend! Elevate Your Payment Processing Capabilities with Ease and Efficiency.

13 lines (12 loc) 679 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.confirmPaymentIntentByPaymentMethod = void 0; const confirmPaymentIntentByCard_js_1 = require("./confirmPaymentIntentByCard.js"); /** * Confirm payment intent by customer's payment method * * @param paymentIntentSecret - stripe payment intent secret (see: https://stripe.com/docs/api/payment_intents/object#payment_intent_object-client_secret) * @param paymentMethodId - stripe customer payment method id (see: https://stripe.com/docs/api/cards/object#card_object-id) * @returns */ exports.confirmPaymentIntentByPaymentMethod = confirmPaymentIntentByCard_js_1.confirmPaymentIntentByCard;