Don't set non-reusable payment method on Subscription in onPlace event.

Created on 12 April 2021, almost 4 years ago
Updated 29 August 2024, 7 months ago

Describe your bug or feature request.

When providing a list of payment options to the user, do not include non-reusable payment methods that have already been used. This is an ephemeral payment method.

For core Drupal Commerce, this should not happen, however for Commerce Recurring, a draft order is created with the payment method provided for the initial order. Commerce Recurring does not mandate the use of a reusable payment method, so a non-reusable payment method can become attached to an order.

If the user is provided with a checkout to pay for the draft order at the time the subscription becomes due for renewal, then the non-reusable payment method is listed.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom Jeff Veit

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024