Skip to content

Commit

Permalink
Revert "temp: disable stripe advanced fraud protection (openedx-unsup…
Browse files Browse the repository at this point in the history
  • Loading branch information
pshiu authored Feb 16, 2024
1 parent 231c610 commit d6ae717
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/payment/checkout/Checkout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit d6ae717

Please sign in to comment.