diff --git a/sdk/Sources/PaymentForm/PaymentProcessForm.swift b/sdk/Sources/PaymentForm/PaymentProcessForm.swift index a3d5110..3c12ae7 100644 --- a/sdk/Sources/PaymentForm/PaymentProcessForm.swift +++ b/sdk/Sources/PaymentForm/PaymentProcessForm.swift @@ -188,7 +188,7 @@ public final class PaymentProcessForm: PaymentForm { self.configuration.paymentDelegate.paymentFinished(transaction, self.configuration.paymentData.orderId) } } else if case .failed(let errorMessage) = self.state { - self.configuration.paymentDelegate.paymentFailed(errorMessage) + self.configuration.paymentDelegate.paymentFailed(errorMessage, configuration.paymentData.orderId) self.actionButton.onAction = { [weak self] in guard let self = self else { return