Skip to content

vgs-samples/vgs-google-apple-pay-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Very Good Security - Google and Apple Pay React

Alt text

To run the app:

  1. Copy the .key and .pem files you created from the VGS Apple Pay integration guide into the /apple-pay/ folder.
  2. In src/app.js update the const vgs to contain your Vault & Route information.
  3. Edit the /paymentSession route in index.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 public/.well-known/to verify your domain.


To run locally without HTTPS

npm start

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published