PayPal not working

Support forumCategory: BugsPayPal not working
Norbert asked 7 years ago
Hi Nikola,  i want to integrate PayPal and bought the Starter-Extension.
i activated PayPal and inserted my Tokens.
PayPal Button is displaying. But when i click it the PayPal-popup opens and then closes after a second.
Console.Log show me: 
Uncaught Error: Error: Error: Request to post https://www.paypal.com/v1/oauth2/token failed with 401 error { "error": "invalid_client", "error_description": "Client Authentication failed" } sounds like something is wrong with the token, but i just created it. how can i test it's right? 
Strange thing though: where do i setup the Account-ID or Email? Is there no more setting? (Client-ID or something?) Second thing: 
where is the standard submit-button when activated Paypal?
I need to offer OfflinePayment as well.
and: the PayPal button does not validate the Data/FormFields!  thanks for your support. regards,
Norbert      
nortonON replied 7 years ago

Tryed other PayPal tokens…
…not working
———————————————————
Message:
“error”: “invalid_client”,
“error_description”: “Client Authentication failed”
———————————————————
is there some place where i enter the Client-ID or corresponding Email ?

4 Answers
Nikola Loncar Staff answered 7 years ago
Hi,   I have just tested it locally and there are no problems :( . Here is whole process, first you will have to go to : https://developer.paypal.com/developer/applications/ and create an application by clicking on Create app button. After you do that cope/paste Client ID from sandbox to EasyAppointments settings Sendbox token. Also do that for live Client ID paste it into Prod token. For testing you can set mode to sandbox and if everything is ok it should be working like this : https://easy-appointments.net/files/paypal.ogv   Best regards, Nikola
nortonON replied 7 years ago

i basicly did all that . just pasted the token not the client id. i’ll test and let you know.

Nikola Loncar Staff answered 7 years ago
Hi, one more thing can you please tell me what is the browser that you are using? Looks like there are some issues with Chrome. Best regards, Nikola
Nikola Loncar Staff replied 7 years ago

Nope, there are no issue on Production mode on Chrome. PayPal dialog is shown without a issue.

nortonON replied 7 years ago

i was working on chrome and FF. both same

lolofora answered 6 years ago
Hello, i tried to support thread from wordpress.com but i then found that one with more topics and replies. And i specifically found that post, it is 9 months old and i have the exact same issue   I am doing this website for a friend and found the plugin that does EXACTLY what she needs. So i bought the extensions to have the link with paypal. I am surprise to dont see any topic regarding it though, (being no necessarily very skilled) i managed to create the developer account, sandbox account, get the sandbox token and wanted to try it out but when i want to do a booking this is just what happend, the paypal popup shows up for 2 seconds and then vanishes :-/
http://prntscr.com/iqtpu9 Did i miss something ? And where and how do we get the Prod token ? Thanks in advance 🙂 The page I need help with: http://elanenergyhealing.com/
Nikola Loncar Staff answered 6 years ago

Hi I will check that link until then you can find more details on how to set paypal here LINK.

Best regards,
Nikola

lolofora replied 6 years ago

Ah this is great Nikola !
I just needed more informations, your link helped me i was bascially not using the correct details for the sandbox and prod token

When you are on the paypal development page its confusing for someone who doesnt have a clue what he is doing.
I was using some scret keys i managed to see.

With that guide i saw where to click and which info to copy/paste

The “Client ID”

So i am good for payments its working for sandbox and live 🙂

Thanks !

Nikola Loncar Staff replied 6 years ago

You’re welcome 🙂

Best regards,
Nikola