Support forumCategory: BugsPayPal button not displaying in front end
Ramangowd_Ganadinni asked 5 years ago

Hi,
I have configured PayPal in my website, however payment option is not displaying in the front end. Please let me know the solution.
Thanks

5 Answers
Nikola Loncar Staff answered 5 years ago

Hi, there must be some kind of error then, can you please send me the link to that page. Do you have a latest version of EasyAppointments plugin?
 
Best regards,
Nikola

Ramangowd_Ganadinni answered 5 years ago

Hi Nikola,
Thanks for your quick response. I updated the plugin to latest version and PayPal button is appearing now. However, the popup is opening and closing immediately without payment. My URL is http://d4medicals.com/appointment/

Thanks

Nikola Loncar Staff answered 5 years ago

Hi,
 
looks like your token is no good. Here is the message from your site :
 

Request to post https://www.sandbox.paypal.com/v1/oauth2/token failed with 401 error

{
    “error”: “invalid_client”,
    “error_description”: “Client Authentication failed”
}

 
you need to provide valid token.
 
Best regards,
Nikola

Ramangowd_Ganadinni answered 5 years ago

Hi Nikola,
I am using the token provided by PayPal. I regenerated the token also. It’s not working for me. May be I am searching token in wrong place. Could you please let me know where can I get the PayPal token in my PayPal account.

Thanks

Nikola Loncar Staff answered 5 years ago

Hi,
you need to create a App inside PayPal. You can do it here : https://developer.paypal.com/developer/applications/ . There you have section called REST API apps and Create App button. Just follow the instruction there. After that copy/paste those tokens.
Best regards,
Nikola