backdrop-contrib / uc_stripe

Ubercart payment gateway module for Stripe.
0 stars 2 forks source link

Confirm payment intent only after form submit #5

Open laryn opened 2 years ago

laryn commented 2 years ago

From @philsward in the Drupal issue queue:

There are advantages if the payment intent is confirmed only after the Checkout review form has been submitted, and not in the ajax function. This reduces the chances of accidental double payments. Patch is attached.

uc_stripe-form_submit_charge.patch.txt

laryn commented 2 years ago

However a separate conversation about double charges is in another thread.

This thread includes a patch that has been committed and is included in this Backdrop version of the module:

In the D7 thread, @philsward suggests an alternate patch: