1.CartModifierFormHandler :- Used to modify the shopping cart by adding items, deleting items and modifying the quantities of items in cart and preparing for checkout.
ShoppingCartFormHandler - Used for handling cart management (add/remove/adjust item quantity) and checkout process (shipping, billing, committing order).
2.CartModifierFormHandler :- you would have to handle checkout flow yourself by using ExpressCheckoutFormHandler in case of express checkout and in case of full checkout by using ShippingGroup & PaymentGroup form handlers and finally CommitFormHandler to confirm and commit the ordr.
ShoppingCartFormHandler :- Various functions for cart to checkout are exposed via different handleXXX methods.
3.CartModifierFormHandler :-doesn't provide you the checkout flow.
ShoppingCartFormHandler :- provides simpler cart management and checkout implementation all in itself.
4.CartModifierFormHandler :- would provide some benefits like better handling and security for concurrent updates of orders.
ShoppingCartFormHandler : not that much secure for concurrent updates of orders
5.CartModifierFormHandler:Based implementation would not be that simple and require other form handlers.
ShoppingCartFormHandler : simple and all checkout flow provided by it.
No comments:
Post a Comment