Integration Guide for RazorPay with CornerCart
Follow these steps to integrate RazorPay Magic with our cart:
Copy the following code snippet:
In our app, navigate to Cart Drawer -> Advanced Settings and paste the code into "Add Custom JS Scripts."
That's it! After completing these steps, every time a user clicks the checkout button, RazorPay Magic checkout popup will appear.
Copy the following code snippet:
corner.overrideCheckout((cartObject, discountCodeApplied) => {
window.openRzpCheckout()
});
In our app, navigate to Cart Drawer -> Advanced Settings and paste the code into "Add Custom JS Scripts."
That's it! After completing these steps, every time a user clicks the checkout button, RazorPay Magic checkout popup will appear.
Updated on: 07/05/2024
Thank you!