From 01def8e9e4fd026fb7a2bf86b7517dc6d98980ba Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 27 Nov 2024 11:12:44 +0200 Subject: [PATCH] docs: clarify medusa_url in Stripe docs (#10305) --- .../payment/payment-provider/stripe/page.mdx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/www/apps/resources/app/commerce-modules/payment/payment-provider/stripe/page.mdx b/www/apps/resources/app/commerce-modules/payment/payment-provider/stripe/page.mdx index 5fc9b795e2..62d7811759 100644 --- a/www/apps/resources/app/commerce-modules/payment/payment-provider/stripe/page.mdx +++ b/www/apps/resources/app/commerce-modules/payment/payment-provider/stripe/page.mdx @@ -24,7 +24,7 @@ In this document, you’ll learn about the Stripe Module Provider and how to ins link: "https://support.stripe.com/questions/locate-api-keys-in-the-dashboard" }, { - text: "For deployed Medusa applications, a Stripe webhook secret. When creating the Webhook, set the endpoint URL to {medusa_url}/hooks/payment/stripe_stripe, where {medusa_url} with the URL to your deployed Medusa application.", + text: "For deployed Medusa applications, a Stripe webhook secret. When creating the Webhook, set the endpoint URL to {server_url}/hooks/payment/stripe_stripe, where {server_url} with the URL to your deployed Medusa server.", link: "https://docs.stripe.com/webhooks#add-a-webhook-endpoint" } ]} /> @@ -216,7 +216,7 @@ const paymentSession = ## Stripe Webhook Endpoint URLs -As mentioned in the prerequisites, when you set up a webhook in Stripe, you set the webhook endpoint URL to `{medusa_url}/hooks/payment/stripe_stripe`. This endpoint URL is for basic payments with Stripe. +As mentioned in the prerequisites, when you set up a webhook in Stripe, you set the webhook endpoint URL to `{server_url}/hooks/payment/stripe_stripe`. This endpoint URL is for basic payments with Stripe. The Stripe Module Provider supports other payment types, and the webhook endpoint URL is different for each: @@ -236,7 +236,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin - `{medusa_url}/hooks/payment/stripe_stripe` + `{server_url}/hooks/payment/stripe_stripe` @@ -248,7 +248,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin - `{medusa_url}/hooks/payment/stripe-bancontact_stripe` + `{server_url}/hooks/payment/stripe-bancontact_stripe` @@ -260,7 +260,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin - `{medusa_url}/hooks/payment/stripe-blik_stripe` + `{server_url}/hooks/payment/stripe-blik_stripe` @@ -272,7 +272,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin - `{medusa_url}/hooks/payment/stripe-giropay_stripe` + `{server_url}/hooks/payment/stripe-giropay_stripe` @@ -284,7 +284,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin - `{medusa_url}/hooks/payment/stripe-ideal_stripe` + `{server_url}/hooks/payment/stripe-ideal_stripe` @@ -296,7 +296,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin - `{medusa_url}/hooks/payment/stripe-przelewy24_stripe` + `{server_url}/hooks/payment/stripe-przelewy24_stripe` @@ -308,7 +308,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin - `{medusa_url}/hooks/payment/stripe-promptpay_stripe` + `{server_url}/hooks/payment/stripe-promptpay_stripe`