I'm trying to implement Stripe iDeal into my checkout flow. Everything seems to mostly work but when I finish an order, I get sent to the return_url specified in the stripe object (which is to be expected, all the payment intent IDs are in the url). A payment is created in stripe but no order is created in Medusa and my cart is still intact. When I go back to checkout and do it all again, I skip the stripe payment page and get sent to the Medusa order success page, and only then an order appears in the admin panel.
Does anyone know what I might be doing wrong?