backdrop-contrib / uc_stripe

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

Support for processing a credit card when admin viewing order #6

Open laryn opened 2 years ago

laryn commented 2 years ago

This issue was noted in D7:

When viewing an order and clicking the green "Process card" button, I am taken to /admin/store/orders/%uc_order/credit (replace %uc_order with Order ID).

On that screen, the credit card fields are not replaced with Stripe's payment form, and if I attempt to submit a credit card using those fields, I get: Stripe Charge Failed for order 55555: The payment Intent has failed.

And the D7 maintainer responded:

Sorry that credit card form doesn't work, it's left over code from v2 that needs to be removed.

There is another issue here talking about it. #3124334: ubercart strip admin view order screen process card not showing charge in stripe

laryn commented 2 years ago

From the second linked issue, slightly more info:

Sorry for the confusion, the admin panel process order doesn't work. It's left over code from v2 of the module before the SCA changes. To reprocess a card I think you'll have to do it from your stripe account. ... with code modifications it can start working again. The Stripe docs would have to be referenced closely though to make sure it is done in a way that will result in approved payments.