Skip to content

Instantly share code, notes, and snippets.

@hitherejoe hitherejoe/pay_button.kt Secret
Last active Jan 4, 2019

What would you like to do?
val isReadyToPayRequest: JSONObject = JSONObject().apply {
put("apiVersion", 2)
put("apiVersionMinor", 0)
put("allowedPaymentMethods", JSONArray().put(baseCardPaymentMethod))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.