woocommerce / woocommerce-gateway-stripe

The official Stripe Payment Gateway for WooCommerce
https://wordpress.org/plugins/woocommerce-gateway-stripe/
237 stars 207 forks source link

[Split PE] - Purchases with Bancontact, iDEAL and Sofort set the order payment method to stripe_sepa_debit #2949

Closed james-allan closed 3 months ago

james-allan commented 9 months ago

Describe the bug Using the new UPE checkout experience, if you place an order with Bancontact, iDEAL or Sofort (payment methods that have SEPA retrievable tokens), the order's payment method is set to stripe_sepa_debit. It should be set to the processing payment method (eg Bancontact).

To Reproduce

  1. Checkout add/deferred-intent
  2. Enter Stripe credentials capable of processing iDEAL and Bancontact payments
  3. In the Stripe advanced plugin settings, enable UPE.
  4. Enable Bancontact, SEPA, Sofort (optional) and iDEAL.
  5. Place a product in your cart.
  6. Complete the purchase using Bancontact, iDEAL or Sofort.
  7. View the order in WooCommerce > Orders.
  8. Note that the order's payment method is set to SEPA.

Screenshot 2024-02-27 at 2 49 51 pm Screenshot 2024-02-27 at 3 03 14 pm

Expected behavior The order's payment method ID should be set to the payment method used to process the order.

james-allan commented 3 months ago

This should have been closed via https://github.com/woocommerce/woocommerce-gateway-stripe/pull/2951