Repository navigation
2.3.4
Android Mobile Payments SDK 2.3.4
Important
This release addresses an issue affecting 32-bit Android devices discovered in 2.3.3. If you planned to update to 2.3.3 to use new Card Surcharge functionality, please upgrade to version 2.3.4 instead.
Breaking change:
allowCardSurcharge: Booleanis now a required parameter in thePaymentParameters.Builderconstructor.- Set to
falseto maintain existing behavior (no surcharge) - Set to
trueto enable card surcharge functionality (requires Beta opt-in and Dashboard configuration)
- Set to
val builder = PaymentParameters.Builder(
amount = Money(1000, CurrencyCode.USD),
processingMode = ProcessingMode.AUTO_DETECT,
allowCardSurcharge = false // Now required
)Card Surcharging BETA
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 developerbetas@squareup.com to learn more.
Release announcement
https://developer.squareup.com/docs/changelog/mobile-logs/2025-11-13#android-mobile-payments-sdk-234