Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Created January 2, 2019 20:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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)
}
@MeetBhatt11
Copy link

GooglePay.baseRequest Not Found in 19.1.0 version. Now, What do we use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment