airwallex / airwallex-payment-android

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

[MOB-1195] Support 3DS verification for Google Pay #77

Closed aw-hector closed 1 year ago

aw-hector commented 1 year ago

This pr adds 3DS support for Google Pay by:

facilitates testing by:

NOTE: Tests are not added for 3ds module, as the code are just extracted and moved place.

github-actions[bot] commented 1 year ago

Unit Test Results

259 tests  +7   259 :heavy_check_mark: +7   1m 41s :stopwatch: +26s   99 suites +1       0 :zzz: ±0    99 files   +1       0 :x: ±0 

Results for commit 2d47bd2a. ± Comparison against base commit c71b4408.

This pull request removes 6 and adds 13 tests. Note that renamed tests count towards both. ``` com.airwallex.android.card.CardComponentTest ‑ test com.airwallex.android.card.ThreeDSecureWebViewClientTest ‑ threeDSecureWebViewClientTest com.airwallex.android.card.exception.ThreeDSExceptionTest ‑ testExceptionEquals com.airwallex.android.card.exception.ThreeDSExceptionTest ‑ testExceptionFields com.airwallex.android.card.exception.WebViewConnectionExceptionTest ‑ testExceptionEquals com.airwallex.android.card.exception.WebViewConnectionExceptionTest ‑ testExceptionFields ``` ``` com.airwallex.android.card.CardComponentTest ‑ test Provider com.airwallex.android.card.CardComponentTest ‑ test handlePaymentIntentResponse when next action is redirect with card model com.airwallex.android.core.extension.ActionComponentProviderExtensionsTest ‑ test confirmGooglePayIntent when request fails com.airwallex.android.core.extension.ActionComponentProviderExtensionsTest ‑ test confirmGooglePayIntent with next action com.airwallex.android.core.extension.ActionComponentProviderExtensionsTest ‑ test confirmGooglePayIntent without next action com.airwallex.android.googlepay.GooglePayComponentTest ‑ test handlePaymentIntentResponse when next action is redirect with card model com.airwallex.android.googlepay.GooglePayComponentTest ‑ test handlePaymentIntentResponse when next action is redirect without card model com.airwallex.android.googlepay.GooglePayComponentTest ‑ test retrieveSecurityToken com.airwallex.android.threedsecurity.ThreeDSExceptionTest ‑ testExceptionEquals com.airwallex.android.threedsecurity.ThreeDSExceptionTest ‑ testExceptionFields … ```

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