From d6ae717f9cf6259a023ecd426cb7fa3db38edb43 Mon Sep 17 00:00:00 2001 From: Phillip Shiu Date: Thu, 15 Feb 2024 21:04:06 -0500 Subject: [PATCH] Revert "temp: disable stripe advanced fraud protection (#852)" (#853) This reverts commit 231c610589bf2871bdca4a41fd20d6371c547d02. --- src/payment/checkout/Checkout.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/payment/checkout/Checkout.jsx b/src/payment/checkout/Checkout.jsx index 1d568c1b0..92ee6b8ca 100644 --- a/src/payment/checkout/Checkout.jsx +++ b/src/payment/checkout/Checkout.jsx @@ -2,7 +2,7 @@ import React from 'react'; import classNames from 'classnames'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; -import { loadStripe } from '@stripe/stripe-js/pure'; +import { loadStripe } from '@stripe/stripe-js'; import { Elements } from '@stripe/react-stripe-js'; import { getLocale, @@ -226,7 +226,6 @@ class Checkout extends React.Component { // Doing this within the Checkout component so locale is configured and available let stripePromise; if (shouldDisplayStripePaymentForm) { - loadStripe.setParameters({ advancedFraudSignals: false }); stripePromise = loadStripe(process.env.STRIPE_PUBLISHABLE_KEY, { betas: [process.env.STRIPE_BETA_FLAG], apiVersion: process.env.STRIPE_API_VERSION,