docs: update customize stripe in next.js storefront guide (#12963)
* docs: update customize stripe in next.js storefront guide * change user to customer
This commit is contained in:
@@ -29714,7 +29714,7 @@ export async function POST(
|
||||
// ...
|
||||
is_tax_inclusive: true,
|
||||
}],
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
res.send(result)
|
||||
@@ -47485,8 +47485,8 @@ export const applyFirstPurchasePromoWorkflow = createWorkflow(
|
||||
entity: "promotion",
|
||||
fields: ["code"],
|
||||
filters: {
|
||||
code: FIRST_PURCHASE_PROMOTION_CODE
|
||||
}
|
||||
code: FIRST_PURCHASE_PROMOTION_CODE,
|
||||
},
|
||||
}).config({ name: "retrieve-promotions" })
|
||||
|
||||
when({
|
||||
|
||||
@@ -19,7 +19,11 @@ const compat = new FlatCompat({
|
||||
|
||||
export default [
|
||||
{
|
||||
ignores: ["**/references/**/*"],
|
||||
ignores: [
|
||||
"**/references/**/*",
|
||||
// TODO remove this once we support v1 comments
|
||||
"**/nextjs-starter/guides/customize-stripe/**",
|
||||
],
|
||||
},
|
||||
{
|
||||
plugins: {
|
||||
|
||||
@@ -91,7 +91,7 @@ export async function POST(
|
||||
// ...
|
||||
is_tax_inclusive: true,
|
||||
}],
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
res.send(result)
|
||||
|
||||
@@ -235,8 +235,8 @@ export const applyFirstPurchasePromoWorkflow = createWorkflow(
|
||||
entity: "promotion",
|
||||
fields: ["code"],
|
||||
filters: {
|
||||
code: FIRST_PURCHASE_PROMOTION_CODE
|
||||
}
|
||||
code: FIRST_PURCHASE_PROMOTION_CODE,
|
||||
},
|
||||
}).config({ name: "retrieve-promotions" })
|
||||
|
||||
when({
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -5567,7 +5567,7 @@ export const generatedEditDates = {
|
||||
"references/types/DmlTypes/types/types.DmlTypes.RelationshipTypes/page.mdx": "2024-12-10T14:54:55.435Z",
|
||||
"app/recipes/commerce-automation/restock-notification/page.mdx": "2025-07-14T09:35:35.226Z",
|
||||
"app/integrations/guides/shipstation/page.mdx": "2025-05-20T07:51:40.717Z",
|
||||
"app/nextjs-starter/guides/customize-stripe/page.mdx": "2025-05-20T07:51:40.717Z",
|
||||
"app/nextjs-starter/guides/customize-stripe/page.mdx": "2025-07-15T08:50:51.997Z",
|
||||
"references/core_flows/Cart/Workflows_Cart/functions/core_flows.Cart.Workflows_Cart.listShippingOptionsForCartWithPricingWorkflow/page.mdx": "2025-07-14T09:31:27.176Z",
|
||||
"references/core_flows/Cart/Workflows_Cart/variables/core_flows.Cart.Workflows_Cart.listShippingOptionsForCartWithPricingWorkflowId/page.mdx": "2024-12-17T16:57:22.044Z",
|
||||
"references/core_flows/Fulfillment/Steps_Fulfillment/functions/core_flows.Fulfillment.Steps_Fulfillment.calculateShippingOptionsPricesStep/page.mdx": "2025-04-11T09:04:36.188Z",
|
||||
|
||||
@@ -9217,14 +9217,6 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
|
||||
"path": "https://docs.medusajs.com/resources/storefront-development/checkout/complete-cart",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "ref",
|
||||
"title": "Customize the Stripe Integration in the Next.js Starter",
|
||||
"path": "https://docs.medusajs.com/resources/nextjs-starter/guides/customize-stripe",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
@@ -9240,6 +9232,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
|
||||
"title": "Payment with Stripe in React Storefront",
|
||||
"path": "https://docs.medusajs.com/resources/storefront-development/checkout/payment/stripe",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "ref",
|
||||
"title": "Use Stripe's Payment Element in the Next.js Starter Storefront",
|
||||
"path": "https://docs.medusajs.com/resources/nextjs-starter/guides/customize-stripe",
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -781,7 +781,7 @@ const generatedgeneratedToolsSidebarSidebar = {
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"path": "/nextjs-starter/guides/customize-stripe",
|
||||
"title": "Customize Stripe Integration",
|
||||
"title": "Use Stripe's Payment Element",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
|
||||
@@ -111,7 +111,7 @@ export const toolsSidebar = [
|
||||
{
|
||||
type: "link",
|
||||
path: "/nextjs-starter/guides/customize-stripe",
|
||||
title: "Customize Stripe Integration",
|
||||
title: "Use Stripe's Payment Element",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
|
||||
@@ -8,7 +8,7 @@ export const payment = [
|
||||
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/saved-payment-methods"
|
||||
},
|
||||
{
|
||||
"title": "Customize the Stripe Integration in the Next.js Starter",
|
||||
"title": "Customize Stripe in Next.js Starter",
|
||||
"path": "https://docs.medusajs.com/resources/nextjs-starter/guides/customize-stripe"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export const storefront = [
|
||||
{
|
||||
"title": "Customize the Stripe Integration in the Next.js Starter",
|
||||
"title": "Use Stripe's Payment Element in the Next.js Starter Storefront",
|
||||
"path": "https://docs.medusajs.com/resources/nextjs-starter/guides/customize-stripe"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user