Warning
An issue has been discovered in this release version that prevents the SDK from taking payments with connected readers running on 32-bit Android devices. Please avoid using this version and upgrade to version 2.3.4 that resolves the problem instead.
Version 2.3.2 is still compatible with 32-bit devices.
Breaking change:
allowCardSurcharge: Booleanis now a required parameter in thePaymentParameters.Builder constructor.- Set to
falseto maintain existing behavior (no surcharge) - Set to
trueto enable card surcharge functionality (requires Beta opt-in and Dashboard configuration)
val builder = PaymentParameters.Builder( amount = Money(1000, CurrencyCode.USD), processingMode = ProcessingMode.AUTO_DETECT, allowCardSurcharge = false // Now required )- Set to
Credit card surcharging is now available as a beta feature for merchants in the United States. Surcharges allow merchants to pass on credit card processing fees to buyers at the point of payment, while remaining compliant with surcharging laws and regulations. To use surcharging in the Mobile Payments SDK, you must be added to the list of beta developers. Email
[email protected]to learn more.This release also includes several fixes and performance improvements for offline mode.