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.


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 Oct 10 '18 at 2:43
  • Ok, nop have you got any other solution? – Chirag Patel Oct 11 '18 at 11:11
  • no, still find solution for this – Init Oct 12 '18 at 9:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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