docs: update paypal configurations (#4304)
This commit is contained in:
1 parent
8e708aaddf
commit
5eae7f03ef
1 file changed
+7
-3
@@ -67,9 +67,9 @@ const plugins = [
|
|||||||
resolve: `medusa-payment-paypal`,
|
resolve: `medusa-payment-paypal`,
|
||||||
options: {
|
options: {
|
||||||
sandbox: process.env.PAYPAL_SANDBOX,
|
sandbox: process.env.PAYPAL_SANDBOX,
|
||||||
client_id: process.env.PAYPAL_CLIENT_ID,
|
clientId: process.env.PAYPAL_CLIENT_ID,
|
||||||
client_secret: process.env.PAYPAL_CLIENT_SECRET,
|
clientSecret: process.env.PAYPAL_CLIENT_SECRET,
|
||||||
auth_webhook_id: process.env.PAYPAL_AUTH_WEBHOOK_ID,
|
authWebhookId: process.env.PAYPAL_AUTH_WEBHOOK_ID,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
@@ -77,6 +77,10 @@ const plugins = [
|
|||||||
|
|
||||||
That’s all you need to install PayPal on your Medusa backend!
|
That’s all you need to install PayPal on your Medusa backend!
|
||||||
|
|
||||||
|
The PayPal plugin also accepts the following optional configurations:
|
||||||
|
|
||||||
|
- `capture`: : a boolean value that indicates whether payment should be captured manually or automatically. By default, it will be false, leading admins to capture the payment manually.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Admin Setup
|
## Admin Setup
|
||||||
|
|||||||
Reference in new issue
Block a user