Hi @marlonsabala
Before I switched to your plugin, there was something we really liked about the old/original stripe plugin, and that’s the fact that when a user tried to start a new subscription and it failed, at least the account was created
Are you referring to a WordPress user being created or a Stripe customer being created? WooCommerce and the WooCommerce Subscriptions plugin manage the user creation flow, including when a subscription is purchased.
By the time the payment for a subscription is processed, there should already be a WordPress user created by WooCommerce. The Stripe plugin only controls the creation of a Stripe customer object.
Kind Regards
Hi there @mrclayton
Thanks for getting back to me on this.
So, I’m referring to the user being created in WordPress. So, for example, in the original Stripe plugin, if the payment fails for some reason (authentication, or other), the user is created in WordPress.
As soon as I migrated to your plugin, I started noticing that that stopped happening. So, the user was only created once a successful payment was made. This, I think, is a disadvantage s we cannot target this person via email for example.
I was reminded of this yesterday when I was doing testing for the other issue. When I tried to create a subscription with the original Stripe plugin, even though I closed the authentication modal and the payment check obviously failed, the user was created immediately. See what I mean?
As soon as I migrated to your plugin, I started noticing that that stopped happening. So, the user was only created once a successful payment was made. This, I think, is a disadvantage s we cannot target this person via email for example.
Neither plugin controls the creation of WordPress users, that all happens in the WC_Checkout class provided by WooCommerce. You can confirm what I am saying by reviewing the WooCommerce code.
https://plugins.trac.wordpress.org/browser/woocommerce/trunk/includes/class-wc-checkout.php#L1100
You will see that the customer creation process occurs before the gateway attempts to process the payment. There is something else going on with your site that’s preventing a WordPress user from being created.
Kind Regards
Hi again,
Hope you’re well. So, I isolated everything else, plugins, themes, etc, and got the same behavior.
If I use your plugin, no account is created, if I use the Stripe original one, the account is created on a failed attempt.
Have a look: https://vimeo.com/875529635/bf37ed21ba?share=copy
Thanks in advance
Hi @marlonsabala
I just tested this exact scenario and it worked perfectly using our plugin. Per my previous reply, user creation is not handled by either Stripe plugin, it’s handled by WooCommerce during the checkout process. That’s very strange that you’re able to replicate a different behavior.
Here is a test site url where you can test this scenario. This is the same site I successfully created a user. You will observe that your user is created, even though you fail the 3DS authentication.
Kind Regards
thanks for your reply.
have you tried using a subscription as the product?
just trying to figure out the differences between yours and our testing.
something has got to be different.
See my reply to your other thread.
Our plugin doesn’t have to make any additional requests when it comes to 3DS for a subscription with trial period like the other plugin. But because of that, WooCommerce doesn’t create the user’s account until after the payment is successfully processed.
We have designed this plugin to be fast and improve conversion rate. It’s not going to behave exactly like your old Stripe plugin, and that’s intentional.
Kind Regards