During checkout, loyalty points can be redeemed:
User navigates to checkout (GET /orders/checkout/?page=LoyaltyCardPage)
GET /orders/checkout/?page=LoyaltyCardPage
System displays available points and conversion rate
User selects amount to redeem (POST with selected_loyalty_amount)
POST
selected_loyalty_amount
System validates points availability
Points deducted from total order amount
On order creation, external system debits points
Failed point redemption blocks order creation
Last updated 3 months ago
Was this helpful?