The sandbox returns a GET with payerId as a request parameter. Why isn't it in the body? NET 1.8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using the .net sdk version 1.8 to create a payment. Using the Create method It's setting the PaymentUrl to
"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-76572603MF809350A"
and I'm setting the return url to /Cart/ProcessPaypalCheckout?orderId=<insert order id>
However, the response back from paypal is in the form of a GET request with the return url I set AND the payerId and paymentId appended as query parameters
But according to https://developer.paypal.com/docs/checkout/how-to/server-integration/#execute-the-payment-2 I should "Get the paymentID and the payerID from the request body" so why are these values getting appended to the request url as a GET request?
I've read an old way of getting the payerId was by appended query parameters. It's my understanding that was for an Adaptive API, but I'm not using a legacy api

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- subscription_id has disappeared in REST APIs
- Why does the client when makeing and order return a payment id that does not start with PAYID. in REST APIs
- PayPal Redirection Issue After Successful Payment in Photobooth Integration in Sandbox Environment
- Url () is not a fully qualified URL in REST APIs
- REST API: Overview about all transactions in REST APIs