Hi,
Thanks for the accesses.
The problem is a complex one between the Stripe Connect plugin, the way you configured its payment method, and the fact that you're trying to use a 100% coupon code, and the fact that the payment and the coupon views are on the same step.
This leads to the Stripe Connect's javascript stopping the process to the next step to try to process the credit card fields of the payment method, even though the payment selection area, along with the credit card form has been removed from the page following the use of the coupon code. And since the credit card form is missing, the plugin's javascript can't process anything and thus it doesn't let you move forward.
It requires a full refresh of the page in such a case, so that the javascript of the Stripe Connect plugin is not included anymore and then it lets you proceed.
So, all this means that there are several ways to circumvent the problem:
- don't have the coupon and the payment view on the same step
- configure the Stripe Connect plugin to display the credit card form at the end of the checkout, not during the payment method selection
- configure the PayPal payment method to be the first one. That way the plugin won't add its javascript by default to the page
Now saying that, it's something that still needs to be fixed properly. So I've looked into it and I've made a patch to the checkout / show_block_payment view of HikaShop so that it properly checks whether the payment methods are selectable or not on the page before trying to contact the javascript of the payment plugins. That way, it will allow the checkout to proceed unimpeded in such a case.
I've deleted the view override of that view in your template and added the necessary modifications to that view with a new view override. I've also added the modifications on our end. So for anyone with the issue, updating to HikaShop 6.0.0 or newer will fix the problem.
However, the day you update your template in the future, the view override I've created for your website will likely be overwritten by your template's new version.
Thus this means that you have several things to take into account:
- ideally, you want to report the issue to the template provider so that they can update their template with the new version of the checkout / show_block_payment view file. This will also help others with a similar situation. And if they do it, you won't have to do anything in the future regarding this issue
- Otherwise, after updating the template, and supposing you've updated your HikaShop since then, you'll want to delete the view override of checkout / show_block_payment, so that it will use the default view file, which will contain the modifications.