-
Notifications
You must be signed in to change notification settings - Fork 53
Dev Apple Pay
It's possible to develop with Apple Pay Direct locally.
The main problem with that payment method is, that Apple needs to verify your domain while the checkout is in process. This verification requires a file which is automatically downloaded by the Mollie plugin into a "/.well-known" folder in your DocRoot. That file needs to be accessed by Apple.
If you have read the instructions about NGROK in the Webhooks developer guide, you might already be familiar with NGROK.
For Apple Pay Direct it's not enough to simply modify our webhook domains. Instead we have to move our complete shop domain to the public domain from NGROK.
Thus, please start NGROK without any header rewrites:
./ngrok http 443
You can now access your local environment with the generated NGROK url.
The next thing is, we need to configure your local Shopware Sales Channel to use this domain. Open the Administration or database and just change the domain of your preferred Sales Channel. Please run this MySQL command or modify the shop settings directly in the Shopware backend.
After clearing your cache, your Shopware shop should be fully available using the generated NGROK domain.
The rest of the configuration is just the basic setup of Apple Pay Direct and its requirements.
Apple Pay Direct, as well as webhooks should immediately work with your local setup.
German Support: [email protected] | International Support: [email protected]
- Apple Pay
- Apple Pay Direct
- Bancontact
- Belfius
- Billie
- Credit Card
- EPS
- Giftcard
- Giropay
- iDEAL
- in3
- KBC / CBC
- Klarna Pay Later
- Klarna Pay Now
- Klarna Slice It
- PayPal
- Paysafecard
- POS Terminals
- Przelewy24
- SEPA Bank Transfer
- SOFORT
- TWINT
- Voucher