ngx-paypal
ngx-paypal copied to clipboard
No ack for postMessage onClick()
Hi
If I click on PayPal, eps or sofort the windows is opening but not loading, After some seconds i get an error "No ack for postMessage onClick() in https://www.sandbox.paypal.com in 10000ms."
System: Angular: 12.2.9 typescript: 4.3.5 zone.js: ~0.11.4 ngx-paypal: ^8.0.0
Im not sure if the problem is in ngZone or in the paypal sdk. It looks like createOrder is not fired correctly.
I found a workaround, if I wait for 100ms in the onClick function. I couldn't find the bug in the source but maybe someone can find it with my explanation.
best regards
see this, might be relevant - https://github.com/Enngage/ngx-paypal/issues/187