Anonymous checkouts fail to create working recurrings with Stripe

Created on 27 January 2018, about 7 years ago
Updated 21 January 2025, 3 months ago

If Stripe is the payment gateway, and the user is not logged in, then checking out a product that creates a recurring order will appear to succeed.

Behind the scenes the initial order goes through fine and a stripe payment is taken, but no customer object is created via Stripe's API. Without a customer object, the payment method cannot be invoked again in the future. (Possibly related but probably not, the Commerce recurring order does not show the anonymous customer's email on it's edit page.)

What's most concerning about this is that it seems to indicate a lack of proper safety checks somewhere down the line.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom jonathanshaw Stroud, UK

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

Comments & Activities

Not all content is available!

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

  • πŸ‡ΊπŸ‡ΈUnited States bradjones1 Digital Nomad Life

    I'm going to be bold and close this. I am implementing subscriptions with Stripe and anonymous checkout on the Drupal side and out of the box this appears to work. A lot changes in payments in 5+ years. Can re-open if necessary.

  • πŸ‡³πŸ‡ΏNew Zealand john pitcairn

    Brad are those Stripe native subscriptions, or commerce_recurring subscriptions?

Production build 0.71.5 2024