Express Checkout C# ASP.NET Core APP Sandbox error, 400 Bad Request
Mvce
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Mar-12-2019
03:56 AM
I can see details about the payment in the alert screen and the PayPal Sandbox account receive the payment according, but I can't capture these details in my ASP.NET Core 2.1 code to record in the database. Here the code I used: https://developer.paypal.com/docs/checkout/integrate/
public async Task<IActionResult> OnPostAsync([FromBody] string orderID) { Console.Beep(); TempData["Message"] = "Pagamento Salvo"; var user = await UserManager.FindByIdAsync("10"); }
Labels:
- Labels:
-
Express Checkout
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Using Paypal Smart Buttons for checkout sometimes fails with Debit/ Credit Cards Form in Braintree Client-side Integration (JS, iOS, Android SDKs)
- SetExpressCheckout 10003 error with ITEMCATEGORY=Digital in NVP/SOAP APIs
- Paypal express checkout, payment they error "Sorry, something went wrong. Please try again." in PayPal Payments Standard
- IPN works in sandbox but not live in Sandbox Environment
- Change the button from Sandbox to Production in REST APIs