This could be a stripe issue, or maybe not. The payment is successful and order is completed though, verified by the statuses appearing on the API responses. However, when I drill into the payment details on the Stripe dashboard, after the PaymentIntent is confirmed, a request to capture the same PaymentIntent is made again.
` const stripeResponse = await stripe.confirmPayment({
elements,
redirect: 'if_required',
})
const order = await medusa.carts.complete(cartid)
.then((res) => res)
.catch((e) => console.log(e));`