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:
1 parent
491b08e044
commit
a1301caf58
11 files changed
+455
-224
No files matched your search
@@ -29714,7 +29714,7 @@ export async function POST(
|
|||||||
// ...
|
// ...
|
||||||
is_tax_inclusive: true,
|
is_tax_inclusive: true,
|
||||||
}],
|
}],
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
res.send(result)
|
res.send(result)
|
||||||
@@ -47485,8 +47485,8 @@ export const applyFirstPurchasePromoWorkflow = createWorkflow(
|
|||||||
entity: "promotion",
|
entity: "promotion",
|
||||||
fields: ["code"],
|
fields: ["code"],
|
||||||
filters: {
|
filters: {
|
||||||
code: FIRST_PURCHASE_PROMOTION_CODE
|
code: FIRST_PURCHASE_PROMOTION_CODE,
|
||||||
}
|
},
|
||||||
}).config({ name: "retrieve-promotions" })
|
}).config({ name: "retrieve-promotions" })
|
||||||
|
|
||||||
when({
|
when({
|
||||||
|
|||||||
@@ -19,7 +19,11 @@ const compat = new FlatCompat({
|
|||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
ignores: ["**/references/**/*"],
|
ignores: [
|
||||||
|
"**/references/**/*",
|
||||||
|
// TODO remove this once we support v1 comments
|
||||||
|
"**/nextjs-starter/guides/customize-stripe/**",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
plugins: {
|
plugins: {
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ export async function POST(
|
|||||||
// ...
|
// ...
|
||||||
is_tax_inclusive: true,
|
is_tax_inclusive: true,
|
||||||
}],
|
}],
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
res.send(result)
|
res.send(result)
|
||||||
|
|||||||
@@ -235,8 +235,8 @@ export const applyFirstPurchasePromoWorkflow = createWorkflow(
|
|||||||
entity: "promotion",
|
entity: "promotion",
|
||||||
fields: ["code"],
|
fields: ["code"],
|
||||||
filters: {
|
filters: {
|
||||||
code: FIRST_PURCHASE_PROMOTION_CODE
|
code: FIRST_PURCHASE_PROMOTION_CODE,
|
||||||
}
|
},
|
||||||
}).config({ name: "retrieve-promotions" })
|
}).config({ name: "retrieve-promotions" })
|
||||||
|
|
||||||
when({
|
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",
|
"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/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/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/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/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",
|
"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",
|
"path": "https://docs.medusajs.com/resources/storefront-development/checkout/complete-cart",
|
||||||
"children": []
|
"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,
|
"loaded": true,
|
||||||
"isPathHref": true,
|
"isPathHref": true,
|
||||||
@@ -9240,6 +9232,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
|
|||||||
"title": "Payment with Stripe in React Storefront",
|
"title": "Payment with Stripe in React Storefront",
|
||||||
"path": "https://docs.medusajs.com/resources/storefront-development/checkout/payment/stripe",
|
"path": "https://docs.medusajs.com/resources/storefront-development/checkout/payment/stripe",
|
||||||
"children": []
|
"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,
|
"isPathHref": true,
|
||||||
"type": "link",
|
"type": "link",
|
||||||
"path": "/nextjs-starter/guides/customize-stripe",
|
"path": "/nextjs-starter/guides/customize-stripe",
|
||||||
"title": "Customize Stripe Integration",
|
"title": "Use Stripe's Payment Element",
|
||||||
"children": []
|
"children": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ export const toolsSidebar = [
|
|||||||
{
|
{
|
||||||
type: "link",
|
type: "link",
|
||||||
path: "/nextjs-starter/guides/customize-stripe",
|
path: "/nextjs-starter/guides/customize-stripe",
|
||||||
title: "Customize Stripe Integration",
|
title: "Use Stripe's Payment Element",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "link",
|
type: "link",
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ export const payment = [
|
|||||||
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/saved-payment-methods"
|
"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"
|
"path": "https://docs.medusajs.com/resources/nextjs-starter/guides/customize-stripe"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
export const storefront = [
|
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"
|
"path": "https://docs.medusajs.com/resources/nextjs-starter/guides/customize-stripe"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user