Receiving Authentication Failed error on live domain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Integrating paypal standard payment to my web application. First time working on paypal integration.
Created a sandbox account and created an app to generate client id and secret key. Used the same with integration (Using PHP Codeigniter).
Everything worked fine with localhost (windows environment). Was able to do the test transactions.
When i moved the same application to live domain ( hosted using Cpanel ), i am receiving the below error from paypal server
Authentication failed due to invalid authentication credentials or a missing Authorization header
Used the same sandbox credentials what i used in my localhost. But receiving the above error
Any ideas on what the issue is?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are using the live endpoints you will need to ensure that you are using your Live Credentials and not your Sandbox Credentials. The Live Credentials are different than the Sandbox Credentials.
Also if using Rest API and completing Direct Credit Cards, you will need to ensure that you are enabled for Direct Credit Cards.
Here are the steps for obtaining your live Client ID and Client Secret:
- Go to https://developer.paypal.com
- Click on Log into Dashboard at the top right
- Log in using your Live PayPal email and password
- Scroll down to your Rest API Application
- Click on the Application
- Click live at the top right hand side
Paste live Client API and Client Secret into your Rest API Integration.
Thank you,
Jennifer
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Is anyone having a problem integrating a Business Account into the WordPress store? in PayPal Payments Standard
- I Have PayPal API Billing Authentication Failure Python-Flask in REST APIs
- How to receive payment email notifications on different emails depending on the store domain? in REST APIs
- GetInvoiceDetails stopped working in NVP/SOAP APIs
- Generating/Refreshing Token and Checking Order Status Using REST API in Java in REST APIs