0

I have added custom Checkbox under Payment section in Checkout Page for My WalletAmount. When i click the checkbox wallet amount is added in totals section and calculated with GrandTotal (Grandtotal = Grandtotal - Walletamount). After applying WalletAmount, GrandTotal is Rs.0.00. Same time when i click my checkbox, i have Customly Refreshed Payment Section. Now I am getting a message (No Payment Information Required). Then, When i Place the Order, I am getting the ErrorMessage The requested Payment Method is not available.

How to Place the Order using WalletAmount when GrandTotal is Rs.0.00 ?
5
  • How you are reducing your grandtotal to 0 amount?
    – Keyur Shah
    Mar 22, 2018 at 13:39
  • Using this $total->setBaseGrandTotal(round($total->getBaseGrandTotal() - $total->getBasWalletAmount()), 0);
    – Ramanathan
    Mar 22, 2018 at 13:54
  • After that you are using CollectTotal() ?
    – Keyur Shah
    Mar 22, 2018 at 14:14
  • Yes bro using CollectTotals() function
    – Ramanathan
    Mar 22, 2018 at 14:39
  • Please help me?
    – Ramanathan
    Mar 23, 2018 at 4:26

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.