I'm using the package in my next.js project. When the user clicks the send button to complete their purchase, I added emptyCart() after the order is creation success. But emptyCart() navigates the user to the cart page!
I checked the function, but I found nothing of that behavior in the package.
Can you please check it out, and tell me how to override this?
I'm using the package in my next.js project. When the user clicks the send button to complete their purchase, I added emptyCart() after the order is creation success. But emptyCart() navigates the user to the cart page!
I checked the function, but I found nothing of that behavior in the package.
Can you please check it out, and tell me how to override this?
Thanks