how can i reload Payment Method section in checkout page? I create a custom discount. when i set custom discount and apply, i need reload total section and payment section. I use this code:

var deferred = $.Deferred();
getTotalsAction([], deferred);

$.when(deferred).done(function () {

i set custom discount and grand total = 0, but just only total section reload again and show correct, payment method is not reload and not show "no payment required", its still show another payment. ? Can Anyone help me? Or Am I missing something? Thanks In advance.

1 Answer 1


I think you have problem with your related js file vendor/magento/module-sales-rule/view/frontend/web/js/view/payment/discount.js

Checkout given blow link it might be help to solve your problem.

  1. magento.stackexchange.com/questions/160479
  2. stackoverflow.com/questions/41340262

I hope it will help to you.

  • no, its not my problem, totals section reload is fine but payment reload not change, i try to use both link, but its now working
    – Init
    Commented Oct 10, 2018 at 2:43
  • Ok, nop have you got any other solution? Commented Oct 11, 2018 at 11:11
  • no, still find solution for this
    – Init
    Commented Oct 12, 2018 at 9:48
  • HI @Init, Have you tried with fresh magento bcz its working fine with fresh installation. Please check video loom.com/share/92433ac5a66145d89a15e925b9456720 Commented Mar 8, 2020 at 6:56

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.