Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Latest commit

 

History

History
23 lines (19 loc) · 991 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 991 Bytes

MyCordovaShop

Example code for PayPal Mobile SDK Cordova/Phonegap Plugin

  • Make sure you have cordova installed if you have node just run sudo npm install -g cordova else read here
  • For security reasons, by default the environment is NoNetwork.
  • If you want to try sandbox and/or live enter your client ids here and set environment to PayPalEnvironmentProduction or PayPalEnvironmentSandbox here

Usage

$ git clone https://github.com/romk1n/MyCordovaShop.git
$ cordova plugin add cordova-plugin-console
$ cordova plugin add com.paypal.cordova.mobilesdk
$ cordova platform add ios
$ cordova platform add android   
# for ios
$ cordova run ios
# for android
$ cordova run android