airwallex / airwallex-payment-android

Airwallex PA Android SDK
MIT License
8 stars 12 forks source link

[MOB-1310] Add warning when saving UnionPay card #85

Closed aw-hector closed 1 year ago

aw-hector commented 1 year ago

This adds warning view to card payment screen when

Screenshot 2023-02-24 at 21 53 11
github-actions[bot] commented 1 year ago

Unit Test Results

272 tests  +4   272 :heavy_check_mark: +4   1m 45s :stopwatch: -22s 101 suites ±0       0 :zzz: ±0  101 files   ±0       0 :x: ±0 

Results for commit 5755a0e8. ± Comparison against base commit 816f40d3.

This pull request removes 2 and adds 6 tests. Note that renamed tests count towards both. ``` com.airwallex.android.core.AirwallexPaymentManagerTest ‑ test start RetrieveAvailablePaymentMethods operation com.airwallex.android.view.AirwallexCheckoutViewModelTest ‑ test checkout when saveCard is true ``` ``` com.airwallex.android.core.AirwallexPaymentManagerTest ‑ test createPaymentConsent com.airwallex.android.core.AirwallexPaymentManagerTest ‑ test createPaymentMethod com.airwallex.android.core.AirwallexPaymentManagerTest ‑ test retrieveAvailablePaymentMethods com.airwallex.android.view.AddPaymentMethodViewModelTest ‑ test check out with saved card when consent creation fails com.airwallex.android.view.AddPaymentMethodViewModelTest ‑ test check out with saved card when consent creation succeeds com.airwallex.android.view.AddPaymentMethodViewModelTest ‑ test check out with saved card when payment method creation fails ```

:recycle: This comment has been updated with latest results.