redundant submiting payment method when using ajax

  • Posts: 1
  • Thank you received: 0
8 years 5 months ago #241968

Hi !!
I have a problem in hikashop payment method i want to update payment without reloading page
im using ajax so that the page will not be reloaded

but the main problem is when the paypal or bank diposite payment is been selected the page must be submit again so that the form must be update i think that is redundant .

any help or suggestion that can helpful for :(
Sorry I'm not good in english

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 5 months ago #242010

Hi,

If you're a developer, you can edit the file "payment" of the view "checkout" via the menu Display>Views.
There, you can change the onclick on the input radios to trigger an ajax call to the checkout controller with the necessary parameters, including the value of the current radio.
That way, the selection of the payment method can be taken into account without reload of the page.

Please Log in or Create an account to join the conversation.

Time to create page: 0.043 seconds
Powered by Kunena Forum