version:
0.0.1
PayPal configuration on Syncano
To install, run:
syncano-cli add paypal-config
Name | Type | Filtering | Ordering |
---|---|---|---|
PAYPAL_CLIENT_ID | string | false | false |
PAYPAL_CLIENT_SECRET | string | false | false |
PAYPAL_MODE | string | false | false |
Install Paypal config.
name | type | description |
---|---|---|
PAYPAL_CLIENT_ID | string | PayPal app Client ID |
PAYPAL_CLIENT_SECRET | string | PayPal app secret |
PAYPAL_MODE | string | Configuration mode, which is 'sandbox' for testing or 'live' for production |
mimetype: application/json
{
"message": "Installed successfully"
}
{
"message": "You are not authorised for this action"
}
{
"message": "Error installing PayPal config"
}
- Fork this repository
- Clone from your fork
- Make your contributions (Make sure your work is well tested)
- Create Pull request from the fork to this repo
- Create a
.env
on parent folder - Copy contents of
.env-sample
file to newly created.env
file and assign appropriate values to the listed variables.
- Ensure all your test are written on the
test
directory - Use the command
npm test
to run test