From 46e224dcb4627c58715630e108b88d7a015fe84e Mon Sep 17 00:00:00 2001 From: ghiottimartin Date: Wed, 6 Sep 2023 11:08:27 -0300 Subject: [PATCH] docs: add paypal hook endpoint (#4956) * docs: add paypal hook endpoint * fix: text position --------- Co-authored-by: Shahed Nasser --- www/docs/content/plugins/payment/paypal.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/docs/content/plugins/payment/paypal.md b/www/docs/content/plugins/payment/paypal.md index 87bee9e084..d4ff443ee2 100644 --- a/www/docs/content/plugins/payment/paypal.md +++ b/www/docs/content/plugins/payment/paypal.md @@ -23,7 +23,9 @@ Before you proceed with this guide, make sure you create a [PayPal account](htt In addition, you need to configure a webhook listener on your PayPal Developer Dashboard and obtain the webhook ID. This is necessary for Webhooks to work. -Webhooks are used in scenarios where the customer might leave the page during the authorization and before the checkout flow is fully complete. It will then create the order or swap after the payment is authorized if they weren’t created +Webhooks are used in scenarios where the customer might leave the page during the authorization and before the checkout flow is fully complete. It will then create the order or swap after the payment is authorized if they weren’t created. + +The endpoint for PayPal webhook integration with your Medusa backend should be set to `{BACKEND_URL}/paypal/hooks`. Make sure to replace `{BACKEND_URL}` with the URL to your backend. Additionally, you need a Medusa backend installed and set up. If not, you can follow the [quickstart guide](../../development/backend/install.mdx) to get started.