Fix iDEAL subscription authorization state when launching external application.

This commit is contained in:
Alex Hart 2024-10-29 15:07:38 -03:00
parent 4e87422575
commit 1b9129b4a0

View file

@ -160,6 +160,8 @@ class StripePaymentInProgressViewModel(
nextActionHandler.handle(
action = secure3DSAction,
inAppPayment = inAppPayment.copy(
subscriberId = InAppPaymentsRepository.requireSubscriber(inAppPayment.type.requireSubscriberType()).subscriberId,
state = InAppPaymentTable.State.WAITING_FOR_AUTHORIZATION,
data = inAppPayment.data.copy(
redemption = null,
waitForAuth = InAppPaymentData.WaitingForAuthorizationState(