Asynchronous call never comes back
Phrygian
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Mar-17-2021
10:58 AM
public async static Task<HttpResponse> CreateOrder(PayPalRequestBody RequestBody, bool debug = false)
{
Console.WriteLine("Creating Order with complete payload");
var request = new OrdersCreateRequest();
request.Prefer("return=representation");
request.RequestBody(BuildRequestBody(RequestBody));
// SBC - this call currently not coming back
var response = await PayPalClient.client().Execute(request);
var result = response.Result<Order>(); // <---- never get here
}
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.