From 5eae7f03efeb9f5318f33b230ff468dbf6c09810 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 14 Jun 2023 11:33:52 +0300 Subject: [PATCH] docs: update paypal configurations (#4304) --- docs/content/plugins/payment/paypal.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/content/plugins/payment/paypal.md b/docs/content/plugins/payment/paypal.md index 5250bb8a57..445fcfc411 100644 --- a/docs/content/plugins/payment/paypal.md +++ b/docs/content/plugins/payment/paypal.md @@ -67,9 +67,9 @@ const plugins = [ resolve: `medusa-payment-paypal`, options: { sandbox: process.env.PAYPAL_SANDBOX, - client_id: process.env.PAYPAL_CLIENT_ID, - client_secret: process.env.PAYPAL_CLIENT_SECRET, - auth_webhook_id: process.env.PAYPAL_AUTH_WEBHOOK_ID, + clientId: process.env.PAYPAL_CLIENT_ID, + clientSecret: process.env.PAYPAL_CLIENT_SECRET, + 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! +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