Skip to content

Commit a1301ca

Browse files
authored
docs: update customize stripe in next.js storefront guide (medusajs#12963)
* docs: update customize stripe in next.js storefront guide * change user to customer
1 parent 491b08e commit a1301ca

File tree

11 files changed

+852
-621
lines changed

11 files changed

+852
-621
lines changed

www/apps/book/public/llms-full.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29714,7 +29714,7 @@ export async function POST(
2971429714
// ...
2971529715
is_tax_inclusive: true,
2971629716
}],
29717-
}
29717+
},
2971829718
})
2971929719

2972029720
res.send(result)
@@ -47485,8 +47485,8 @@ export const applyFirstPurchasePromoWorkflow = createWorkflow(
4748547485
entity: "promotion",
4748647486
fields: ["code"],
4748747487
filters: {
47488-
code: FIRST_PURCHASE_PROMOTION_CODE
47489-
}
47488+
code: FIRST_PURCHASE_PROMOTION_CODE,
47489+
},
4749047490
}).config({ name: "retrieve-promotions" })
4749147491

4749247492
when({

www/apps/resources/.content.eslintrc.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ const compat = new FlatCompat({
1919

2020
export default [
2121
{
22-
ignores: ["**/references/**/*"],
22+
ignores: [
23+
"**/references/**/*",
24+
// TODO remove this once we support v1 comments
25+
"**/nextjs-starter/guides/customize-stripe/**",
26+
],
2327
},
2428
{
2529
plugins: {

www/apps/resources/app/commerce-modules/promotion/promotion-taxes/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export async function POST(
9191
// ...
9292
is_tax_inclusive: true,
9393
}],
94-
}
94+
},
9595
})
9696

9797
res.send(result)

www/apps/resources/app/how-to-tutorials/tutorials/first-purchase-discounts/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ export const applyFirstPurchasePromoWorkflow = createWorkflow(
235235
entity: "promotion",
236236
fields: ["code"],
237237
filters: {
238-
code: FIRST_PURCHASE_PROMOTION_CODE
239-
}
238+
code: FIRST_PURCHASE_PROMOTION_CODE,
239+
},
240240
}).config({ name: "retrieve-promotions" })
241241

242242
when({

www/apps/resources/app/nextjs-starter/guides/customize-stripe/page.mdx

Lines changed: 830 additions & 603 deletions
Large diffs are not rendered by default.

www/apps/resources/generated/edit-dates.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5567,7 +5567,7 @@ export const generatedEditDates = {
55675567
"references/types/DmlTypes/types/types.DmlTypes.RelationshipTypes/page.mdx": "2024-12-10T14:54:55.435Z",
55685568
"app/recipes/commerce-automation/restock-notification/page.mdx": "2025-07-14T09:35:35.226Z",
55695569
"app/integrations/guides/shipstation/page.mdx": "2025-05-20T07:51:40.717Z",
5570-
"app/nextjs-starter/guides/customize-stripe/page.mdx": "2025-05-20T07:51:40.717Z",
5570+
"app/nextjs-starter/guides/customize-stripe/page.mdx": "2025-07-15T08:50:51.997Z",
55715571
"references/core_flows/Cart/Workflows_Cart/functions/core_flows.Cart.Workflows_Cart.listShippingOptionsForCartWithPricingWorkflow/page.mdx": "2025-07-14T09:31:27.176Z",
55725572
"references/core_flows/Cart/Workflows_Cart/variables/core_flows.Cart.Workflows_Cart.listShippingOptionsForCartWithPricingWorkflowId/page.mdx": "2024-12-17T16:57:22.044Z",
55735573
"references/core_flows/Fulfillment/Steps_Fulfillment/functions/core_flows.Fulfillment.Steps_Fulfillment.calculateShippingOptionsPricesStep/page.mdx": "2025-04-11T09:04:36.188Z",

www/apps/resources/generated/generated-commerce-modules-sidebar.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9221,24 +9221,24 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
92219221
"loaded": true,
92229222
"isPathHref": true,
92239223
"type": "ref",
9224-
"title": "Customize the Stripe Integration in the Next.js Starter",
9225-
"path": "https://docs.medusajs.com/resources/nextjs-starter/guides/customize-stripe",
9224+
"title": "Implement Express Checkout with Medusa",
9225+
"path": "https://docs.medusajs.com/resources/storefront-development/guides/express-checkout",
92269226
"children": []
92279227
},
92289228
{
92299229
"loaded": true,
92309230
"isPathHref": true,
92319231
"type": "ref",
9232-
"title": "Implement Express Checkout with Medusa",
9233-
"path": "https://docs.medusajs.com/resources/storefront-development/guides/express-checkout",
9232+
"title": "Payment with Stripe in React Storefront",
9233+
"path": "https://docs.medusajs.com/resources/storefront-development/checkout/payment/stripe",
92349234
"children": []
92359235
},
92369236
{
92379237
"loaded": true,
92389238
"isPathHref": true,
92399239
"type": "ref",
9240-
"title": "Payment with Stripe in React Storefront",
9241-
"path": "https://docs.medusajs.com/resources/storefront-development/checkout/payment/stripe",
9240+
"title": "Use Stripe's Payment Element in the Next.js Starter Storefront",
9241+
"path": "https://docs.medusajs.com/resources/nextjs-starter/guides/customize-stripe",
92429242
"children": []
92439243
}
92449244
]

www/apps/resources/generated/generated-tools-sidebar.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ const generatedgeneratedToolsSidebarSidebar = {
781781
"isPathHref": true,
782782
"type": "link",
783783
"path": "/nextjs-starter/guides/customize-stripe",
784-
"title": "Customize Stripe Integration",
784+
"title": "Use Stripe's Payment Element",
785785
"children": []
786786
},
787787
{

www/apps/resources/sidebars/tools.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const toolsSidebar = [
111111
{
112112
type: "link",
113113
path: "/nextjs-starter/guides/customize-stripe",
114-
title: "Customize Stripe Integration",
114+
title: "Use Stripe's Payment Element",
115115
},
116116
{
117117
type: "link",

www/packages/tags/src/tags/payment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const payment = [
88
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/saved-payment-methods"
99
},
1010
{
11-
"title": "Customize the Stripe Integration in the Next.js Starter",
11+
"title": "Customize Stripe in Next.js Starter",
1212
"path": "https://docs.medusajs.com/resources/nextjs-starter/guides/customize-stripe"
1313
},
1414
{

0 commit comments

Comments
 (0)