Skip to content
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

Pay with Apple Pay from cart page #23

Closed
kennyadsl opened this issue Jan 20, 2020 · 1 comment
Closed

Pay with Apple Pay from cart page #23

kennyadsl opened this issue Jan 20, 2020 · 1 comment
Assignees
Milestone

Comments

@kennyadsl
Copy link
Member

User's shipping information can be collected directly on Apple Pay, and passed back to Solidus in order to have all the information needed to complete the order bypassing the checkout entirely.

📖 https://stripe.com/docs/stripe-js/elements/payment-request-button#html-js-collecting-shipping-info

We could add an Apple Pay button in the cart via this extension (I'd go with just proving a partial that devs can add to their cart page where they prefer). Once we have the payment information back, we should create/complete the order filling the shipping/billing info that we retrieve back from Apple Pay.

The only gotcha here is that we don't have available shipping rates yet on the cart and we need to pass shipping option to Apple Pay, since users will pick on option directly in there. We could, by default, just pass all the available shipping method to Apple Pay and use a configuration class to allow devs to override the default behavior with their custom logic.

@kennyadsl
Copy link
Member Author

Released in 3.0

@kennyadsl kennyadsl added this to the 2.0 milestone Mar 11, 2020
@kennyadsl kennyadsl removed the enhancement New feature or request label Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants