docs: clarify medusa_url in Stripe docs (#10305)

This commit is contained in:
Shahed Nasser
2024-11-27 11:12:44 +02:00
committed by GitHub
parent 0b5ebeaa30
commit 01def8e9e4
@@ -24,7 +24,7 @@ In this document, youll learn about the Stripe Module Provider and how to ins
link: "https://support.stripe.com/questions/locate-api-keys-in-the-dashboard" 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" link: "https://docs.stripe.com/webhooks#add-a-webhook-endpoint"
} }
]} /> ]} />
@@ -216,7 +216,7 @@ const paymentSession =
## Stripe Webhook Endpoint URLs ## 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: 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
</Table.Cell> </Table.Cell>
<Table.Cell> <Table.Cell>
`{medusa_url}/hooks/payment/stripe_stripe` `{server_url}/hooks/payment/stripe_stripe`
</Table.Cell> </Table.Cell>
</Table.Row> </Table.Row>
@@ -248,7 +248,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin
</Table.Cell> </Table.Cell>
<Table.Cell> <Table.Cell>
`{medusa_url}/hooks/payment/stripe-bancontact_stripe` `{server_url}/hooks/payment/stripe-bancontact_stripe`
</Table.Cell> </Table.Cell>
</Table.Row> </Table.Row>
@@ -260,7 +260,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin
</Table.Cell> </Table.Cell>
<Table.Cell> <Table.Cell>
`{medusa_url}/hooks/payment/stripe-blik_stripe` `{server_url}/hooks/payment/stripe-blik_stripe`
</Table.Cell> </Table.Cell>
</Table.Row> </Table.Row>
@@ -272,7 +272,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin
</Table.Cell> </Table.Cell>
<Table.Cell> <Table.Cell>
`{medusa_url}/hooks/payment/stripe-giropay_stripe` `{server_url}/hooks/payment/stripe-giropay_stripe`
</Table.Cell> </Table.Cell>
</Table.Row> </Table.Row>
@@ -284,7 +284,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin
</Table.Cell> </Table.Cell>
<Table.Cell> <Table.Cell>
`{medusa_url}/hooks/payment/stripe-ideal_stripe` `{server_url}/hooks/payment/stripe-ideal_stripe`
</Table.Cell> </Table.Cell>
</Table.Row> </Table.Row>
@@ -296,7 +296,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin
</Table.Cell> </Table.Cell>
<Table.Cell> <Table.Cell>
`{medusa_url}/hooks/payment/stripe-przelewy24_stripe` `{server_url}/hooks/payment/stripe-przelewy24_stripe`
</Table.Cell> </Table.Cell>
</Table.Row> </Table.Row>
@@ -308,7 +308,7 @@ The Stripe Module Provider supports other payment types, and the webhook endpoin
</Table.Cell> </Table.Cell>
<Table.Cell> <Table.Cell>
`{medusa_url}/hooks/payment/stripe-promptpay_stripe` `{server_url}/hooks/payment/stripe-promptpay_stripe`
</Table.Cell> </Table.Cell>
</Table.Row> </Table.Row>