Closed (fixed)
Project:
Ubercart Stripe
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
31 Jul 2019 at 18:04 UTC
Updated:
15 Aug 2019 at 05:29 UTC
Jump to comment: Most recent
Because the module no longer creates a new stripe customer for every order, there is a slight chance that a drupal user's saved stripe customer ID is not valid in stripe.
Scenarios:
Making an order in stripe test mode and then live mode using the same drupal user.
If you change to a different stripe account for your payments.
The customer has been deleted from stripe.
Fix:
Do a check that the saved customer id is valid. If it's invalid based on stripe, just create a new stripe customer and save that ID.
Comments
Comment #2
andraeray commentedComment #5
andraeray commentedThis has been committed to 7.x-3.x-dev and 7.x-3.0-rc3.