Payment Information fieldset label is misleading if mix of gateways supporting and not supporting stored payment methods is available

Created on 26 August 2024, 4 months ago
Updated 28 August 2024, 4 months ago

Describe your bug or feature request.

While all onsite payment gateway plugins implement SupportsCreatingPaymentMethodsInterface, and by extension SupportsStoredPaymentMethodsInterface, the situation may be different for offsite payment gateways.

If the mix of gateways implementing SupportsStoredPaymentMethodsInterface and not implementing it is available as payment options in the checkout the label can be misleading:

Depending on the selected option the payment method may or may not be created.

If a bug, provide steps to reproduce it from a clean install.

  1. Install Payment and Payment Example modules
  2. Create 3 payment gateways using: Example (Off-site redirect), Example (Off-site redirect with stored payment methods), Example (On-site)
  3. Choose On-Site gateway and go to Review step
  4. Go back to Order Information step and observe the label is now Add a new payment method but choosing Example (Off-site redirect) won't create a payment method.
🐛 Bug report
Status

Closed: outdated

Version

3.0

Component

Payment

Created by

🇳🇴Norway zaporylie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024