UNPKG

bc-payments-sdk

Version:

BetterCommerce's Payments NodeJS SDK is a complete solution for storefront clients that integrate payments. `bc-payments-sdk` is a single point interface for storefront clients for interacting with payment gateways.

25 lines (24 loc) 1.07 kB
/** * Enum {PayPalOrderIntent} represents the different intents available * for a PayPal order during the checkout process. * * @enum {string} * @readonly * @memberof PayPal * @ordinal {string} CAPTURE - The intent to capture payment immediately * after the customer makes a payment. This is typically used when * the merchant wants to finalize the transaction at the time of * checkout, ensuring funds are transferred right after the payment * is made by the customer. * @ordinal {string} AUTHORIZE - The intent to authorize a payment and * place funds on hold after the customer makes a payment. This * allows the merchant to capture the payment at a later time. * Authorized payments are ideally captured within three days of * authorization, but can be captured up to 29 days. Beyond the * three-day honor period, the authorization expires and requires * re-authorization. */ export declare enum PayPalOrderIntent { CAPTURE = "CAPTURE", AUTHORIZE = "AUTHORIZE" }