You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Total checkout amount is specified includes: Checkout Total amount, Tax, Shipment amount, Shipment Tax, discount amount
Customer now can continue to proceed to payment.
In this Step, following actions will be done:
Promotion code is actually applied, Checkout state will be PAYMENT_PROCESSING, progress attribute is PROMOTION_CODE_APPLIED
Product stock (quantity) is locked in Inventory, Checkout state will be PAYMENT_PROCESSING, progress attribute is STOCK_LOCKED
Create Checkout Payment object to process payment, Checkout state will be PAYMENT_PROCESSING, **progress ** field is PAYMENT_CREATED
Checkout attributes field will keep returned payment_id for further processing tracking
When any failure, error will be reported to last_error field (Error code and error message).
if applying Promotion code failed, Checkout state will be PAYMENT_PROCESSING, progress attribute is PROMOTION_CODE_APPLYING_FAILED, user is required to re-enter promotion code.
if any error of locking stock (Out Of Stock for example), Checkout state will be PAYMENT_PROCESSING, progress attribute is STOCK_LOCKING_FAILED, user is required to re-enter product quantity.
if calling to Payment Service failure, rollback promocode and rollback stock will be executed
Note: Consider Retry execution
Checkout ERD
Checkout Lifecycle Diagram
Init Payment Flow
The text was updated successfully, but these errors were encountered:
nashtech-vietvuhoang1
changed the title
[OrderRefactor][Order][Checkout] Proceed to Payment
[OrderRefactor][Order][Checkout] Proceed to Payment - [Step1] Apply Promotion Code and Lock Product Stock
Oct 3, 2024
When the Checkout is fulfilled (ticket 1110):
Customer now can continue to proceed to payment.
In this Step, following actions will be done:
When any failure, error will be reported to last_error field (Error code and error message).
Checkout ERD
Checkout Lifecycle Diagram
Init Payment Flow
The text was updated successfully, but these errors were encountered: