Checkout Shopping Cart

In cart checkout, you need to call this method

new GC.OrderService().checkoutCart(idCart, paymentMethod, deliveryType, timeslotInfo)

idCart - required parameter ( it can be obtained after you have created cart )
paymentMethod - required parameter ( DEBIT \ CASH )
deliveryType - required parameter ( PICKUP \ ON_DEMAND \ SCHEDULED )
timeslotInfo - required parameter ( example: { date: "2021-01-30", start: "10:00:00", end: "12:00:00" } ), which you can get in the delivery schedule


Did this page help you?