From 0594f37d59555a244649411e360bbddc93283075 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Thu, 2 Jan 2025 11:37:15 +0200 Subject: [PATCH] docs: fix highlights in checkout storefront guide (#10793) --- .../checkout/payment/page.mdx | 20 +++++++++---------- www/apps/resources/generated/edit-dates.mjs | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/www/apps/resources/app/storefront-development/checkout/payment/page.mdx b/www/apps/resources/app/storefront-development/checkout/payment/page.mdx index 8bf5332763..c3821db79c 100644 --- a/www/apps/resources/app/storefront-development/checkout/payment/page.mdx +++ b/www/apps/resources/app/storefront-development/checkout/payment/page.mdx @@ -176,16 +176,16 @@ export const highlights = [ ["23", "fetch", "Retrieve available payment providers."], ["34", "setSelectedPaymentProvider", "If a payment provider was selected before, pre-fill it."], ["40", "handleSelectProvider", "This function is executed when the customer submits their chosen payment provider."], - ["53", "fetch", "Create a payment collection for the cart when it doesn't have one."], - ["76", "fetch", "Initialize the payment session in the payment collection for the chosen provider."], - ["95", "fetch", "Retrieve the cart again to update its data."], - ["111", "getPaymentUi", "This function shows the necessary UI based on the selected payment provider."], - ["112", "activePaymentSession", "The active session is the first in the payment collection's sessions."], - ["118", "", "Test which payment provider is chosen based on the prefix of the provider ID."], - ["119", `"pp_stripe_"`, "Check if the chosen provider is Stripe."], - ["127", `"pp_system_default"`, "Check if the chosen provider is the default systen provider."], - ["133", "default", "Handle unrecognized providers."], - ["168", "getPaymentUi", "If a provider is chosen, render its UI."] + ["54", "fetch", "Create a payment collection for the cart when it doesn't have one."], + ["74", "fetch", "Initialize the payment session in the payment collection for the chosen provider."], + ["93", "fetch", "Retrieve the cart again to update its data."], + ["108", "getPaymentUi", "This function shows the necessary UI based on the selected payment provider."], + ["109", "activePaymentSession", "The active session is the first in the payment collection's sessions."], + ["115", "", "Test which payment provider is chosen based on the prefix of the provider ID."], + ["116", `"pp_stripe_"`, "Check if the chosen provider is Stripe."], + ["124", `"pp_system_default"`, "Check if the chosen provider is the default systen provider."], + ["130", "default", "Handle unrecognized providers."], + ["165", "getPaymentUi", "If a provider is chosen, render its UI."] ] ```tsx highlights={highlights} diff --git a/www/apps/resources/generated/edit-dates.mjs b/www/apps/resources/generated/edit-dates.mjs index b3198c1a47..d513ad1627 100644 --- a/www/apps/resources/generated/edit-dates.mjs +++ b/www/apps/resources/generated/edit-dates.mjs @@ -146,7 +146,7 @@ export const generatedEditDates = { "app/storefront-development/checkout/complete-cart/page.mdx": "2024-12-19T16:30:41.019Z", "app/storefront-development/checkout/email/page.mdx": "2024-12-19T16:30:40.122Z", "app/storefront-development/checkout/payment/stripe/page.mdx": "2024-12-19T16:30:39.173Z", - "app/storefront-development/checkout/payment/page.mdx": "2024-12-19T16:30:38.192Z", + "app/storefront-development/checkout/payment/page.mdx": "2025-01-02T08:47:20.531Z", "app/storefront-development/checkout/shipping/page.mdx": "2024-12-26T15:34:51.431Z", "app/storefront-development/checkout/page.mdx": "2024-06-12T19:46:06+02:00", "app/storefront-development/customers/addresses/page.mdx": "2024-12-19T16:38:44.847Z",