PayPal Express Checkout popup close immediately

maz_ali211
Contributor
Contributor

i implemented express checkout restful api in website.after that i tested and it works fine for me.but when i ask the client to test it he aknowladge me that when he clicks the paypal checkout button the popup opens and immediately cloes..i can't understande that behaviour.please help me with this probelm.

Login to Me Too
3 REPLIES 3

genitorisempre
Contributor
Contributor

I had the same problem. I verified the js script using the page html view and I discovered that the amount to pay was written in currency mode (with a currency symbol and with the comma to separate decimal digits). I corrected the script and now it works fine. I'm Italian and we divide decimal digits with the comma (it's wrong for PayPal API).

May there could be an error on your script? I hope my issue could help you.

Regards

 

Andrea

Login to Me Too

findster-team
New Community Member

Hi.

 

I had same issue. 2 main considerations:

 

- Your rest API service have to run over https, even in test mode (I guess);

- Try to check your console on chrome. Commonly the error is outputed there after click on button.

 

In my case run our service over https solved main problem. I experienced other times while testing the same symptoms and the console helped me every time.

 

BR 

Login to Me Too

luxrux
New Community Member

I have the same problem but how do you fix it


@maz_ali211 wrote:

i implemented express checkout restful api in website.after that i tested and it works fine for me.but when i ask the client to test it he aknowladge me that when he clicks the paypal checkout button the popup opens and immediately cloes..i can't understande that behaviour.please help me with this probelm.


 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.