-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on failed authorize_uri that has acs=true query parameter #360
Comments
Hello @nqtsparda , |
@nqtsparda Version |
v5.4.0 still has problem |
The crash seems from this omise-android/sdk/src/main/java/co/omise/android/ui/AuthorizingPaymentViewModel.kt Line 74 in 31f7a8d
lateinit prop |
Yes we have already identified the cause, so may i ask if you have modified the auth_uri yourself or you received this uri from the charge response ? |
To make it easier to reproduce the crash so I made up above 404 authorize uri |
There is no problem on Prod env. I already tried |
Hello @juckrit @nqtsparda , |
Expected behavior
If there is anything go wrong in Authorizing Payment page, it should show error and guide user what to do next
Actual behavior
acs=true
makes the app crash onAuthorizingPaymentActivity
acs=true
in query param,AuthorizingPaymentActivity
still can render error page without problemSteps to reproduce the issue
AuthorizingPaymentActivity
with a failed authorize uri including acs=true in query paramAuthorizingPaymentActivity
Logs
Screenshots
No response
Name and version information
Omise SDK 5.3.0
The text was updated successfully, but these errors were encountered: