By Weeblr on Wednesday, 21 August 2019
Posted in General Issues
Replies 4
Likes 0
Views 672
Votes 0
Hi,

Using current Payplans 4.0.11, on the checkout page, if a user enter a coupon code and then press Enter, the checkout form is submitted immediately and they go to Paypal or Stripe without having even the coupon applied. All the rest of the form is submitted without them having a chance to enter their details, etc

This is a bug that actually existed in PP 3.x (we reported it) which is why we tested for it.

In PP 3.x, we added the following code to fix the problem and turn Enter key equivalent to clicking the Apply button:


$(document).ready(function() {
$("#app_discount_code_id").keydown(function (event) {
if (event.keyCode == 13) {
event.preventDefault();
$("#app_discount_code_submit").click();
}
});
});


Please be kind to address the issue. I'm sure we can still add and adjust this custom code but it should not be required.

Best regards
Hey Webler,

Thank you for letting us know about this issue. I'll log this issue into our issue tracker and will add in upcoming release.
Once fixed internally, i'll update you regarding this.

Thank you for understanding !
·
Wednesday, 21 August 2019 19:36
·
0 Likes
·
0 Votes
·
0 Comments
·
ok, looking forward to that, thanks
·
Wednesday, 21 August 2019 19:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you ! Will keep you update on this.
·
Wednesday, 21 August 2019 19:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Weeblr,

We internally fix this issue and will include in our upcoming release.
For now to resolve this issue, find attached file and replace with below mentioned file path.
root\components\com_payplans\themes\wireframe\checkout\default\default.js

After apply the change , take a look on this issue again and do us update if still issue persist.

Thank you for understanding !
·
Wednesday, 04 September 2019 13:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post