LivotovLabs / 3DSView

Android UI component to process banking 3D Secure (MasterCard SecureCode / Verified By Visa) payment authorizations in Android apps.
Apache License 2.0
111 stars 51 forks source link

No matter user clicks accept or decline it always returns accepted value in onAuthorizationCompleted #14

Open zuhairabbas opened 7 years ago

zuhairabbas commented 7 years ago

in the authform the user has the option to click on accept or decline button, currently wether a user clicks on accept or on decline authorization is always successful and it returns the value of accepted, where in decline case it should be different.

livotov commented 7 years ago

Hi,

Sorry for long reply, was out of workdesk.

The ACS server always redirects to the same exit url no matter was the auth successful or not. It is the responsibility of your own backend server to take the ACS server auth results (PaRes) and finish the transaction with your payment processor, which will issue the final positive or negative result.