-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stripe Link is Incompatible with Subscription Renewals #6261
Comments
According to Pc2DNy-3z-p2, this falls in Helix @haszari. Tagging as a part of Gamma Porter duties PcreKM-yM-p2. |
Thanks – since this is subscription related it's best to hand over to Quark - FYI @thenbrent . I'll update the Product Responsibilities page (Pc2DNy-3z-p2) to add Quark team for WCPay Subscriptions. |
6477405-zen |
Hey @csmcneill, we've just merged some implementation into |
Hey @timur27! If you can provide me with a ZIP I can install on my test site, I'll be glad to give it a whirl. When I try to activate the
|
@csmcneill Thanks for your attempt while testing this, Chris! Could you please try woo-payments-develop.zip and let us know if any other support from our side would be needed to test it. Thank you! |
@timur27 I don't have access to Zenhub, so that link isn't quite working for me 😞 The error I get is when I download the ZIP from GH... ...and then try to activate it on my test site. I've tried activating it via wp-admin and WP CLI without success. |
This is probably happening because if you just download the raw repo zip from GH, you still need to build all the dependencies before you can use it on a test site. Nonetheless never fear, here's one I made earlier--hopefully the link below works for you! @csmcneill, gimme a shout if it's still not opening and I'll figure something else out. |
Thanks a ton for that @FangedParakeet! I tested this out on the same site I was using to explore #4492 (read p1691503660845959-slack-CGGCLBN58 for all the juicy details, including login information) and am still unable to renew a subscription paid via Link: Edit: I realized that what I was testing is very similar to the flow in #4492 since the site's currency was still set to EUR. However, disabling multicurrency completely and changing the site's currency to USD still yields the same error. |
#6965 has now been tested internally, approved, and merged. @csmcneill, if I may summon you once more and beseech you to retest this issue one more time, whenever you're able, can you please let me know if we have indeed managed to patch this problem this time. I am now able to reliably process subscription payments on my own test site, so hopefully these new changes now successfully address this issue directly. Please find an updated build of the plugin attached below for you to trial on a test site. As always many thanks in advance and hopefully we have managed to resolve this issue for good this time. 🙏 |
@FangedParakeet (& @csmcneill ) FWIW, I created a subscription with Stripe Link. I think the fix was good 👍 (The subscription was processed with the "Legacy UPE" because of the current fallback from the Split UPE). |
@csmcneill feel free to test this further - otherwise, we can mark this ticket as closed? |
I tested this on a fresh JN and I was able to process a subscription renewal with Stripe Link...but I did face a few other issues and can confirm that @csmcneill is not losing his mind and imagining things. 😂
This is the key basically. Stripe Link payment tokens are being sent to the non-existent I've just authored #7026 that should resolve this and bring balance to the force once and for all. That PR also adds a fix that I believe will ensure that SEPA Debit is functional as a saved payment method/subscription payment method as well. However, I have not yet fully enabled SEPA Debit when the split UPE is enabled (so you will have to manually edit this function to test SEPA with the split UPE), as I would rather wait for consensus in #5517 and test SEPA with the split UPE a bit more comprehensively, before leaping to enable it in #7026. Nonetheless I'm pretty confident #7026 will finally dam the floodgate of tears unloaded by this issue, so once it is merged, I think we should be able to close out this issue at last. |
@csmcneill, I think we can test this one internally in #7026, so if your hands are full don't feel the need to drop whatever they're currently occupied with. Nonetheless if your curiosity cannot be constrained, here's a new build that contains the Stripe Link fix, should you yearn to see the promised land with your own eyes. |
Describe the bug
If a subscription is purchased via Stripe Link, subsequent renewals will not process. They will fail with the following error:
In my tests, the
pm_
ID is stored correctly in Stripe, but that information isn't being passed to Woo or stored on the site to retrieve that information for renewals.To Reproduce
Renew now
flow and the subscription can be renewed as the customer has to go through the checkout flow again.Subscription actions
metabox or by manually running the associatedwoocommerce_scheduled_subscription_payment
scheduled action.Actual behavior
If a customer purchases a subscription via Stripe Link, the renewals fail, and there is no way for the subscription tokens to be added manually.
Screenshots
Expected behavior
Either of the following:
Additional context
p1683573649730159-slack-C7U3Y3VMY
6271366-zen
The text was updated successfully, but these errors were encountered: