Open socsieng opened 5 years ago
Here's what's happening:
This is why e-commerce sites have ApplePay buttons on the "cart" page rather than on "payments". The vendor-specific payment modes essentially take the place of the checkout screen.
I want to have a chat with our Payments and UX people before making any changes, but you can do this in the meantime:
It's almost an anti-pattern setting up payment this way, but it's also what everybody seems to be doing. I'll keep you posted if we come up with a better answer.
Thanks for reporting this, Sarah
Launching the Payment Request from via a hash change raises the following error in Safari:
This currently triggered by (https://github.com/google-developer-training/pwa-ecommerce-demo/blob/master/project/app/scripts/modules/cart-view.js#L37):
and (https://github.com/google-developer-training/pwa-ecommerce-demo/blob/master/project/app/scripts/modules/cart-view.js#L78):