- Copy the
.key
and.pem
files you created from the VGS Apple Pay integration guide into the/apple-pay/
folder. - In
static/index.html
update theconst vgs
to contain your Vault & Route information. - Edit the
/paymentSession
route inindex.js
in 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)