Showing results for 
Search instead for 
Did you mean: 

Live credential calling the payment.Create goes in sandapi environment

New Community Member
Posted on

Good evening,

I've a web site in which I call the PayPal API, using the v1 version.

Now we want to swith to live environment but my problem is that the end-point that is called is always the test environment. I don't set the end-points (live and sandbox); I just make the call to get the access token (using live credentials) and I see (using fiddler) that the call goes to the production's environment; i receive access token and then I call the payment.Create (ctx) using the context that I've created with the token.

Using fiddler, I saw that the create's call goes to the test environment and so I receive the 401 error.

Do you have any suggestion?

Best regards



Haven't Found your Answer?

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