Skip to content

Commit

Permalink
docs: clarify medusa_url in Stripe docs (medusajs#10305)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser authored Nov 27, 2024
1 parent 0b5ebea commit 01def8e
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]} />
Expand Down Expand Up @@ -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:

Expand All @@ -236,7 +236,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin
</Table.Cell>
<Table.Cell>

`{medusa_url}/hooks/payment/stripe_stripe`
`{server_url}/hooks/payment/stripe_stripe`

</Table.Cell>
</Table.Row>
Expand All @@ -248,7 +248,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin
</Table.Cell>
<Table.Cell>

`{medusa_url}/hooks/payment/stripe-bancontact_stripe`
`{server_url}/hooks/payment/stripe-bancontact_stripe`

</Table.Cell>
</Table.Row>
Expand All @@ -260,7 +260,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin
</Table.Cell>
<Table.Cell>

`{medusa_url}/hooks/payment/stripe-blik_stripe`
`{server_url}/hooks/payment/stripe-blik_stripe`

</Table.Cell>
</Table.Row>
Expand All @@ -272,7 +272,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin
</Table.Cell>
<Table.Cell>

`{medusa_url}/hooks/payment/stripe-giropay_stripe`
`{server_url}/hooks/payment/stripe-giropay_stripe`

</Table.Cell>
</Table.Row>
Expand All @@ -284,7 +284,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin
</Table.Cell>
<Table.Cell>

`{medusa_url}/hooks/payment/stripe-ideal_stripe`
`{server_url}/hooks/payment/stripe-ideal_stripe`

</Table.Cell>
</Table.Row>
Expand All @@ -296,7 +296,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin
</Table.Cell>
<Table.Cell>

`{medusa_url}/hooks/payment/stripe-przelewy24_stripe`
`{server_url}/hooks/payment/stripe-przelewy24_stripe`

</Table.Cell>
</Table.Row>
Expand All @@ -308,7 +308,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin
</Table.Cell>
<Table.Cell>

`{medusa_url}/hooks/payment/stripe-promptpay_stripe`
`{server_url}/hooks/payment/stripe-promptpay_stripe`

</Table.Cell>
</Table.Row>
Expand Down

0 comments on commit 01def8e

Please sign in to comment.