int_globale/cartridge/models/globale/order/actions/decorators/generateBasketFromPayload.js.
This page covers the special case of bonus products in that fallback. For the broader recovery story, see Failover and recovery.
The problem
Bonus products often depend on conditions tied to the original storefront session — for example, promotions that apply only to registered customers. When the fallback rebuilds the basket during SendOrderToMerchant (a server-to-server call in a different session), those session-specific conditions cannot be reproduced, so the original basket’s bonus products may be lost.The solution
To recreate bonus products in the rebuilt basket, the cartridges ship a dummy SFCC promotionGLOBALE_BONUS_PRODUCTS and an SFCC customer group GlobaleOrderCreationFallbackScenario.
The fallback applies them in this order:
- It first tries to apply the same SFCC promotion that was used in the original storefront session, recreating the bonus products.
- If that promotion cannot be applied, it uses the
GLOBALE_BONUS_PRODUCTSpromotion to generate the bonus products in the new basket.
Configuration
If your project uses SFCC bonus-product promotions together with Global-e, configure the following:1
Enable the SFCC customer group
GlobaleOrderCreationFallbackScenario (available in the cartridge repository metadata folder).2
Enable the SFCC promotion
GLOBALE_BONUS_PRODUCTS (available in the cartridge repository metadata folder).3
Configure the SFCC job
GlobaleCouponRedemptions — contact Global-e Merchant Support for the job configuration. See GlobaleCouponRedemptions.4
Enable the site preference Enable Coupon Verification (
geEnableCouponVerification).Merchant Tools → Site Preferences → Custom Site Preference Groups → Global-e SettingsSee also
- Failover and recovery — order-creation fallback / SendOrderToMerchant
- GlobaleCouponRedemptions
- Promotions
- Metadata reference —
geEnableCouponVerification

