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 fec83d1 commit 84c9efdCopy full SHA for 84c9efd
core/src/main/java/io/snabble/sdk/googlepay/GooglePayHelper.kt
@@ -71,8 +71,8 @@ class GooglePayHelper(
71
addProperty("type", "PAYMENT_GATEWAY")
72
add("parameters", JsonObject().apply {
73
project.checkout.checkoutProcess?.paymentPreauthInformation?.let {
74
- val gateway = it.get("gateway").asString
75
- val gatewayMerchantId = it.get("gatewayMerchantId").asString
+ val gateway = it.get("gateway")?.asString
+ val gatewayMerchantId = it.get("gatewayMerchantId")?.asString
76
addProperty("gateway", gateway)
77
addProperty("gatewayMerchantId", gatewayMerchantId)
78
}
0 commit comments