Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terms and Conditions - Infinite loading if not verified #8

Open
iomack opened this issue Jun 12, 2020 · 1 comment
Open

Terms and Conditions - Infinite loading if not verified #8

iomack opened this issue Jun 12, 2020 · 1 comment

Comments

@iomack
Copy link

iomack commented Jun 12, 2020

Hello

I would like to report an issue.
When the user selects Paybox Bank Card as Payment Method, if he just selects one of the cards and he does not check that he verifies the "Terms and Conditions", then an infinite loading starts.
Could you please provide an insight as to where I have to intervene in the code?
Because I think that the validation for "Terms and Conditions" is not fully working

Environment: Magento 2.3.4
PHP : 7.2.24

Thank you very much in advance for your help

Best Regards

tnc_problem

@iomack
Copy link
Author

iomack commented Jun 12, 2020

The problem seems to be caused by this line of code
setPaymentMethodAction(this.messageContainer);
on file
/paybox/epayment23/view/frontend/web/js/view/payment/method-renderer/pbxep_multi-method.js

I disabled this line and the "Place Order" works correctly:

  • If "Terms and Conditions" is not checked, the error message shows up
  • If "Terms and Conditions" is checked, then the system redirects to Paybox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant