We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73c40bc commit 13e56c1Copy full SHA for 13e56c1
ui/src/main/java/io/snabble/sdk/ui/checkout/PaymentStatusView.kt
@@ -330,6 +330,11 @@ open class PaymentStatusView @JvmOverloads constructor(
330
itemView.setTitle(resources.getString(R.string.Snabble_PaymentStatus_Tobacco_title))
331
itemView.state = PaymentStatusItemView.State.IN_PROGRESS
332
} else if (it.state.isFailure) {
333
+ if (it.state == FulfillmentState.ALLOCATION_FAILED
334
+ || it.state == FulfillmentState.ALLOCATION_TIMED_OUT) {
335
+ handlePaymentAborted()
336
+ }
337
+
338
itemView.setText(resources.getString(R.string.Snabble_PaymentStatus_Tobacco_error))
339
340
itemView.state = PaymentStatusItemView.State.FAILED
0 commit comments