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 5e97d98 commit 6dcaf5fCopy full SHA for 6dcaf5f
ui/src/main/java/io/snabble/sdk/ui/checkout/PaymentStatusView.kt
@@ -334,8 +334,8 @@ class PaymentStatusView @JvmOverloads constructor(
334
}
335
336
val receipts = Snabble.receipts
337
- receipts.getReceiptInfos(object : Receipts.ReceiptInfoCallback {
338
- override fun success(receiptInfos: Array<out ReceiptInfo>?) {
+ receipts.getReceiptInfo(object : Receipts.ReceiptInfoCallback {
+ override fun success(receiptInfos: Array<ReceiptInfo>?) {
339
val receiptInfo = receiptInfos?.firstOrNull { it.id == orderId }
340
if (receiptInfo != null) {
341
Dispatch.mainThread {
0 commit comments