-
-
Save hitherejoe/1013faf40f850e1ed40aa533e06d4ea9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val transactionInfo = JSONObject().apply { | |
put("totalPrice", "12.34") | |
put("totalPriceStatus", "FINAL") | |
put("currencyCode", "USD") | |
} | |
val paymentDataRequest = GooglePay.baseRequest.apply { | |
put("allowedPaymentMethods", JSONArray().put(cardPaymentMethod)) | |
put("transactionInfo", transactionInfo) | |
put("merchantInfo", merchantInfo) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GooglePay.baseRequest Not Found in 19.1.0 version. Now, What do we use?