Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.18 KB

README.md

File metadata and controls

39 lines (32 loc) · 1.18 KB

paypal-payment-integration

Integrate Paypal Advanced Payment API (this is not available to all countries) please see the list of supported currency & countries

Getting started

  • Fork the repository
    https://github.com/mrepol742/paypal-payment-integration/fork
  • Clone fork the repository
    # using https
    git clone https://github.com/<your-username>/paypal-payment-integration
    
    # using ssh
    git clone git@github.com:<your-username>/paypal-payment-integration
  • Install dependencies
    cd paypal-payment-integration && npm i
  • Configure .env
    cp .env.example .env
    nano .env
    # configure the CLIENT_ID and CLIENT_SECRET
  • Run the project
    npm run start

Card testing

Please head to the following link to generate card details used for sandbox testing https://developer.paypal.com/api/rest/sandbox/card-testing/#link-creditcardgeneratorfortesting

Contribute

Code contributions are welcome! Please commit any pull requests against the master branch. Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature.