Thank you for taking the time to explain this.
NikhilJain For percentage discount
Steps:
1- add a product of Rs. 150
2- create a 100% discount coupon code same as subtotal value which is 150 in our case. The minimum value should be 150 in the coupon settings. This will make the subtotal 0 after applying coupon code
3- The payable amount should only be the delivery charge. But in checkout page we can see wallet with 0 balance and we can still pay through wallet. It will push orders to admin with no items. And if user cancel the order from their app they can get the refund of that amount in their wallet.
I did exactly this. But, still, on my Checkout page, I am not able to get the Pay with Wallet button.
Screenshot of Cart:
Screenshot of Checkout:
I doubt that the wallet amount response data type on my local server is different than your server.
Can you please send me the following:
- Your website URL.
- A store where I can add items to the cart.
- A location where I can find the store on your website.
- A coupon with a 100% discount as you stated.
Don't worry, I will not place an order, I will just check the API responses.