Open aeu opened 1 year ago
Hi Alfonso,
The plugin, when implemented on the frontend using the template tags, should pull any relevant shipping methods automatically from your store.
The best thing to do to test this is to ensure you have set up some shipping methods in Craft. You could start by keeping them simple to ensure that Apple Pay is picking them up, as things like shipping country can influence the options a user can access.
If you'd like to learn more about setting up shipping methods in Craft Commerce, you can check this out here: Craft 3: https://craftcms.com/docs/commerce/3.x/shipping.html Craft 4: https://craftcms.com/docs/commerce/4.x/shipping.html
Thanks!
Hi Alex,
We definitely have shipping methods set up. I'm assuming that perhaps the problem is that we are presenting the Apple Pay button before the user has input their billing and shipping addresses. We can delay when the Apple Pay button is presented no problem, but then that brings up a followup question.
One of the advantages of Apple Pay is that Apple has stored shipping addresses for a user, so Apple Pay should allow you to bypass the address entry stage of checkout and make ordering faster (and I have seen this functionality on other sites). Does the plugin pull this data from the user profile and update the cart with it?
Thank you.
The user shouldn't need to input their shipping details, and if they do, it should be via the Apple Pay payment modal that the OS presents. Are you able to share a screenshot or screen recording of what you see when you click the button?
If you'd rather share directly, feel free to email me (alex [at] ethercreative.co.uk)
Hello,
I have seen implementations of Apple pay on other stores in which during the Apple Pay dialog/checkout, the user is presented with an option to choose a shipping method. How do I implement this on our store? I should be able to pass in to Apple shipping options and their associated dollar amounts, but I am not seeing anywhere in the documentation where I would do this.
Where should I be looking for this?
Thank you.
edit:
Reference: https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypaymentrequest/1916121-shippingmethods https://stripe.com/docs/apple-pay/web/v2/custom#shipping-methods