-
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
ECE subscription product does not require user to be logged in, in checkout, and fails when the order is placed #9806
Comments
Hey team! Please add your planning poker estimate with Zenhub @asumaran @cesarcosta99 @lovo-h @rafaelzaleski @reykjalin @ricardo |
@pierorocca, I can't seem able to reproduce this locally, I'm going to try in a new JN instance. Do you know what are the reproduction steps for me to try? It's unclear to me whether I need to set up taxes and/or sign-up fee for the subscription. Edit: I've tried paying with ECE while logged out at the product, cart and checkout pages. All resulted in successful payment with new account created. Also, the quotes in the issue are from a ticket? If so, would be nice to have a link for me to check it. |
Hey @cesarcosta99 sorry about that. There's one 9054329-zd-a8c that covers several GH issues. Guest checkout needs to be disabled, and the product a simple subscription. You must be logged out of the site. On the product page the shopper will get a system alert while on the cart and checkout pages weird behavior and an obscure error after what appears to be a successful wallet transaction. Video is a bit long but it shows the many issues including some issues with Apple Pay not updating shipping addresses and shipping rates. W2h04y.mov |
@elizaan36 what would you recommend as an alternative to this flow that ends with an obscure error? E.g. on cart or checkout, first redirect to the login/sign-up screen? |
@pierorocca, I figured this is a Blocks issue, it's not taking the guest checkout settings into consideration. Shortcode cart and shortcode checkout works the same as in the product page, that is, an alert is displayed to the user and if they confirm, they are redirected to the login page. So, the following settings influences what happens in this test case and we have some scenarios to consider: This is what's happening at the moment in each scenario:
My recommendation is to keep things as is and fix this Blocks issue to make it match what we expect to happen, in the case you described: display the alert and then redirect. |
Describe the bug
On the product and cart pages, attempting to purchase a subscription using Apple Pay or Google Pay results in a system alert to be thrown requiring the shopper to be logged in. The shopper is then redirected to the login page. On checkout, there's no check, the payment sheet renders, the shopper can place the order, which then fails.
Possible options:
The text was updated successfully, but these errors were encountered: