Skip to content

2.3.4

Choose a tag to compare

@matheuskiser matheuskiser released this 13 Nov 21:38
· 11 commits to main since this release
3f3cc88

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: Boolean is now a required parameter in the PaymentParameters.Builder constructor.
    • Set to false to maintain existing behavior (no surcharge)
    • Set to true to 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
)

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