PageSourceSearch

https://www.denverfolklore.com/1723204579/js/components/stripe-bnpl/StripeBNPLAffirmModel.js

js denverfolklore.com collected 2026-09-26 08:44:39 UTC 1,114 bytes, 35 lines download raw bytes

1var StripeBNPLAffirmModel = function () {
2    StripeBNPLBaseModel.apply(this, arguments);
3
4    this.supportedMerchantCountries = ['US'];
5
6    this.supportedCountries = [
7        {
8            country: 'US',
9            currency: 'usd',
10            minAmount: 5000,
11            maxAmount: 3000000,
12        },
13    ];
14
15    this.confirmPayment = function (transactionId, paymentIntentClientSecret, billingDetails, shipping) {
16        return this.stripe.confirmAffirmPayment(
17            paymentIntentClientSecret,
18            {
19                payment_method: {
20                    billing_details: billingDetails,
21                },
22                shipping: shipping,
23                return_url: this.redirectURL + '?id=' + transactionId + '&payment_intent_client_secret=' + paymentIntentClientSecret,
24            }
25        ).then(function (result) {
26            if (result.error) {
27                return Promise.reject(StripeBNPLError.fromResponseError(result.error));
28            }
29
30            return result;
31        });
32    };
33};
34
35StripeBNPLAffirmModel.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.