fix(payment): Return and set the correct status when a session is created with stripe (#12769)

This commit is contained in:
Stevche Radevski
2025-06-21 20:36:58 +02:00
committed by GitHub
parent a263d8818d
commit b116f75fbf
3 changed files with 54 additions and 36 deletions

View File

@@ -363,6 +363,7 @@ export default class PaymentModuleService
{
id: paymentSession!.id,
data: { ...input.data, ...providerPaymentSession.data },
status: providerPaymentSession.status ?? PaymentSessionStatus.PENDING,
},
sharedContext
)