You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When one clicks on PayPal checkout button it adds an overlay on CiviCRM page and opens new window to collect the payment and other information.
The popup window closes after submission and it quickly removes overlay on CiviCRM page while the form is being redirected to confirmation or thank you page.
During this period there is slight delay and it might prompt user to click the PayPal button again.
Expected behavior
May be we should have a overlay till the form is redirected so that user can't click on any buttons
The text was updated successfully, but these errors were encountered:
@kurund Did you see #166 ? It may not fix this issue and is probably not a "merge-ready" solution because it introduces a dependency on the paymentshared/mjwshared library. From my experience developing Stripe and other js-based payments (eg. see new https://lab.civicrm.org/extensions/globalpayments) the only sensible solution here is to have a shared javascript payment library such as CRM.payment that I have created - https://lab.civicrm.org/extensions/mjwshared/-/blob/1.1/js/crm.payment.js - you can see that is now at over 500 lines of code and provides a wide-range of helper functions to ensure js based processors work in all environments.
Current behavior
When one clicks on PayPal checkout button it adds an overlay on CiviCRM page and opens new window to collect the payment and other information.
The popup window closes after submission and it quickly removes overlay on CiviCRM page while the form is being redirected to confirmation or thank you page.
During this period there is slight delay and it might prompt user to click the PayPal button again.
Expected behavior
The text was updated successfully, but these errors were encountered: