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.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.