- Posts: 1
- Thank you received: 0
redundant submiting payment method when using ajax
- ryanpagaduan23
-
Topic Author
- Offline
Less
More
10 years 3 months ago #241968
by ryanpagaduan23
redundant submiting payment method when using ajax was created by ryanpagaduan23
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
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.
10 years 3 months ago #242010
by nicolas
Replied by nicolas on topic redundant submiting payment method when using ajax
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.
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.276 seconds