You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Making a payment request for 100.000.000,00 Euro should prompt a payment for exactly that amount on the reader.
Current Behavior
Signed 32bit integer overflow
Steps to Reproduce
val paymentIntent = CardPaymentActivity.IntentBuilder(activity)
.amount((receipt_total * BigDecimal("100.00")).toLong()) // TODO: Does not work for 0-digit currencies
.reference(reference)
.enableTipping(false)
.build()
Context
Operating Version: Android 10
SDK version: 1.4.0
Originally reported as API-16526, reposted here to tracking purposes
The text was updated successfully, but these errors were encountered:
Expected Behavior
Making a payment request for 100.000.000,00 Euro should prompt a payment for exactly that amount on the reader.
Current Behavior
Signed 32bit integer overflow
Steps to Reproduce
Context
The text was updated successfully, but these errors were encountered: