- Copy the
.keyand.pemfiles you created from the VGS Apple Pay integration guide into the/apple-pay/folder. - In
static/index.htmlupdate theconst vgsto contain your Vault & Route information. - Edit the
/paymentSessionroute inindex.jsin the root of the project to post your Apple Merchant information instead.
To run the application on Heroku, simply deploy the application, then update the file in static/.well-known/to verify your domain.
Runs the app in the development mode. Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes. You may also see any lint errors in the console.
Note: You will need to run the application on a HTTPS domain for the Apple Pay Button to display. You can create a self-signed certificate and trust this on your machine (see: Windows, MacOS)
