File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
packages/sails-paystack/helpers Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,27 @@ module.exports = {
1313 protect : true ,
1414 whereToGet : {
1515 url : 'https://dashboard.paystack.com/#/settings/developers' ,
16- description : 'Generate an API key in your Paystack dashboard.' ,
16+ description : 'Generate a secret key in your Paystack dashboard.' ,
1717 extendedDescription :
18- 'To generate an API key, you will first need to log in to your Paystack account, or sign up for one if you have not already done so.'
18+ 'To generate a secret key, you will first need to log in to your Paystack account, or sign up for one if you have not already done so.'
1919 }
20+ } ,
21+ PAYSTACK_PUBLIC_KEY : {
22+ type : 'string' ,
23+ friendlyName : 'Public Key' ,
24+ description : 'A valid Paystack Public Key' ,
25+ whereToGet : {
26+ url : 'https://dashboard.paystack.com/#/settings/developers' ,
27+ description : 'Get your public key from your Paystack dashboard.' ,
28+ extendedDescription :
29+ 'To get your public key, you will first need to log in to your Paystack account, or sign up for one if you have not already done so.'
30+ }
31+ } ,
32+ PAYSTACK_CALLBACK_URL : {
33+ type : 'string' ,
34+ friendlyName : 'Callback URL' ,
35+ description : 'The default callback URL for Paystack transactions' ,
36+ extendedDescription :
37+ 'This URL will be used as the default callback for all transactions unless overridden per request.'
2038 }
2139}
You can’t perform that action at this time.
0 commit comments