Redirecting the customers to different Checkout app or Side Cart using the app functions
Feature: Using different app functions - customers can be redirected to Checkout or Cart apps:
Example : GoKwik checkout
For the Checkout and Side cart apps check the functions below:
GoKwik:
window.gokwikSdk.initCheckout(merchantInfo);
Shopflo:
window.Shopflo.openCheckout()
Zecpay:
zecpeCheckFunctionAndCall("handleOcc")
Rebuy:
Cart.getCart();
[//location.reload](notion://location.reload/)();
Shiprocket or Fastrr:
sessionStorage.setItem("gbbDiscount",gbb?.gbbDiscountComponent?.state?.discountCode);
document.cookie = "discount_code=" + gbb?.gbbDiscountComponent?.state?.discountCode + "; path=/; Secure; SameSite=Lax";
shiprocketCheckoutBuyCartHandler()
Upcart:
window.upcartOpenCart()
Updated on: 01/09/2025
Thank you!