bugfix: postinstall -> prepare

This commit is contained in:
AJ ONeal 2021-10-09 17:17:38 -06:00
parent 69ed827e3c
commit fc6eb5371a
3 changed files with 4 additions and 4 deletions

View File

@ -20,8 +20,9 @@ PPC.init({
client_secret: "****", client_secret: "****",
}); });
PPC.Subscriptions.create({ PPC.Subscriptions.createRequest({
}) // See https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions
});
``` ```
![](https://i.imgur.com/brFTseM.png "PayPal Checkout API Flow") ![](https://i.imgur.com/brFTseM.png "PayPal Checkout API Flow")

1
package-lock.json generated
View File

@ -7,7 +7,6 @@
"": { "": {
"name": "@root/paypal-checkout", "name": "@root/paypal-checkout",
"version": "0.1.0", "version": "0.1.0",
"hasInstallScript": true,
"license": "MPL-2.0", "license": "MPL-2.0",
"dependencies": { "dependencies": {
"@root/request": "^1.7.0" "@root/request": "^1.7.0"

View File

@ -5,7 +5,7 @@
"main": "paypal-checkout.js", "main": "paypal-checkout.js",
"files": ["lib"], "files": ["lib"],
"scripts": { "scripts": {
"postinstall": "node utils/make-categories.js", "prepare": "node utils/make-categories.js",
"test": "node test.js" "test": "node test.js"
}, },
"repository": { "repository": {