docs: fix highlights in checkout storefront guide (#10793)

This commit is contained in:
Shahed Nasser
2025-01-02 11:37:15 +02:00
committed by GitHub
parent 6d989bc8cd
commit 0594f37d59
2 changed files with 11 additions and 11 deletions
@@ -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}