PayPal CAPTURE request returns 401 after switching from sandbox to live

henmangren
Contributor
Contributor

Is there anything I need to configure once I switch from sandbox to live? I verified that the request is the same but Paypal returns "HTTP/1.1 401 Unauthorized"? Doing the same request with the sandbox client id and secret, I get "HTTP/1.1 201 Created" and the request works fine. I checked thoroughly that the live client id and secret are getting used. Can anyone help?

 

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

henmangren
Contributor
Contributor

Never mind, I found it: I was still using the sandbox URLs.

View solution in original post

Login to Me Too
1 REPLY 1
Solved

henmangren
Contributor
Contributor

Never mind, I found it: I was still using the sandbox URLs.

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.