PageSourceSearch

https://www.leitholdmusic.com/1723204579/js/components/stripe-bnpl/StripeBNPLAfterpayModel.js

js leitholdmusic.com collected 2026-09-28 10:44:54 UTC 1,489 bytes, 53 lines download raw bytes

1var StripeBNPLAfterpayModel = function () {
2    StripeBNPLBaseModel.apply(this, arguments);
3
4    this.supportedMerchantCountries = ['US', 'GB', 'CA', 'AU'];
5
6    this.supportedCountries = [
7        {
8            country: 'US',
9            currency: 'usd',
10            minAmount: 100,
11            maxAmount: 200000,
12        },
13        {
14            country: 'GB',
15            currency: 'gbp',
16            minAmount: 100,
17            maxAmount: 100000,
18        },
19        {
20            country: 'CA',
21            currency: 'cad',
22            minAmount: 100,
23            maxAmount: 200000,
24        },
25        {
26            country: 'AU',
27            currency: 'aud',
28            minAmount: 100,
29            maxAmount: 200000,
30        },
31    ];
32
33    this.confirmPayment = function (transactionId, paymentIntentClientSecret, billingDetails, shipping) {
34        return this.stripe.confirmAfterpayClearpayPayment(
35            paymentIntentClientSecret,
36            {
37                payment_method: {
38                    billing_details: billingDetails,
39                },
40                shipping: shipping,
41                return_url: this.redirectURL + '?id=' + transactionId,
42            }
43        ).then(function (result) {
44            if (result.error) {
45                return Promise.reject(StripeBNPLError.fromResponseError(result.error));
46            }
47
48            return result;
49        });
50    };
51};
52
53StripeBNPLAfterpayModel.prototype = Object.create(StripeBNPLBaseModel.prototype);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.