I (like to) use the OrderPlaced event to create subscription plans within Stripe and PayPal. I have all the logic ready, but I have some problems to implement this.
When the event is firing I need to check some details using a REST call to Stripe. I think here is the problem, since the OrderPlaced event at that point breaks and I'm unable to finish my custom code.
What should be the right way to implement this?
// API Call to Stripe
var stripeCustomer = customerService.Get(user.Id.ToString());
// Here the code stops.