Show spinner/loader on Submit button click placed under Payment method section

  • Posts: 21
  • Thank you received: 0
3 years 6 months ago #332433

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3

Hello,

I implemented my custom payment module and want to show spinner/loader when user click on submit button after choosing payment method. Because sometimes page takes lots of time to reload and due to this user clicks on submit twice to submit again which causes issues.



So please check this out and let me know the solution.
Thanks

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 6 months ago #332444

Hi,

Which submit button are you talking about ? The main submit button of the checkout (with the text "next" or "finish") is displayed by HikaShop and automatically has a spinner on it and get disabled when the customer clicks on it without doing anything.
So I suppose that you're talking about another button. Maybe one you've added yourself with your payment plugin ?
I would need more information to be able to understand the situation before I could provide a solution.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum