Live credential calling the payment.Create goes in sandapi environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Simone
- Labels:
-
Invoicing REST APIs
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- The "card field" doesn't appear on my website in Sandbox Environment
- webhook deregistration in REST APIs
- Refunding an order via HATEOAS URL failing with NOT_AUTHORIZED error in Sandbox Environment
- PayPal Standard Checkout Integration in PHP (500 error) in Sandbox Environment
- Payment not automatically being captured, funds not transferred in Sandbox Environment