vn.teko.android.payment:payment-ui:1.20.0

New features#

  • Add function setDebitAmount to PaymentUIRequestBuilder to support pay with debit
  • Add Long? field debitAmount to PaymentV2Request
  • Add field methodSourceType to ExtraOptions to support specify source to get payment methods from
  • Add function setMethodSourceType to ExtraOptions.Builder
  • Internally update PaymentUIRequestBuilder and PaymentV2Request to support methodSourceType
  • Add field methodSourceType to ExtraOptions to support repayment case (MOBCOMMON-2998)

Changes#

  • Remove COD Offline and logic
  • Remove confirmation flow for VNPAY-SMartPOS method
  • Revert Staff apply API Payment BFF
  • Parse debitAmount when receive PaymentV2Request from PAY_FOR_ORDER bus

Bug fixes#

  • Try to fix crash when the application is killed by the system and is recreated.
  • Fix error cannot observe firebase for payment result.
  • Fix wrong SDK_VERSION_UI when publishing through CI