Skip to content

Commit

Permalink
fix: removed duplicate function
Browse files Browse the repository at this point in the history
  • Loading branch information
bdizha committed Jul 8, 2024
1 parent 25e7e5d commit 3a8fcbe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/payment/checkout/Checkout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,6 @@ class Checkout extends React.Component {
const isBulkOrder = orderType === ORDER_TYPES.BULK_ENROLLMENT;
const isQuantityUpdating = isBasketProcessing && loaded;

if (!submissionDisabled && isPaypalRedirect) {
// auto submit to paypal since the paypal redirect flag is set in the incoming request
this.handleSubmitPayPal();
}

// Stripe element config
// TODO: Move these to a better home
const options = {
Expand Down

0 comments on commit 3a8fcbe

Please sign in to comment.