Forced Saved Card – Token Process
-
@dougaitken I have had the client check her Stripe for the actual customer account creation and if they see the credit card on the account. As it turns out the customer account was created and a credit card is present for the two customers whose accounts failed on the automated order. Their accounts were created on the day they setup their Woocommerce accounts on the site. The automated orders take place on the 1st of each month thereafter.
For the existing customer in the program prior to these two new ones, their card gets charged and the order created. But the new customers who are buying in (simply by buying a tagged product in the Woocommerce shop – nothing custom going other than setting a user capability when purchasing a certain item), even though their customer account is created in Stripe, and the credit card associated, the _stripe_customer_id is not being set in the WordPress user_meta table.
I am checking in my custom code for the Stripe token before hitting the API and if not found for the customer ID, it logs the error, User has no credit card on file, and returns. So, does the filter, add_filter( ‘wc_stripe_force_save_source’, ‘__return_true’ );, trigger the creation of the Stripe token? Should it be stored by the plugin as part of the transaction?
Thanks.
Crack-AjaxThe page I need help with: [log in to see the link]
- The topic ‘Forced Saved Card – Token Process’ is closed to new replies.