ivpn / android-app

Official IVPN Android app
https://www.ivpn.net/apps-android
GNU General Public License v3.0
291 stars 53 forks source link

Improve UX for pending payments #316

Closed jurajhilje closed 3 weeks ago

jurajhilje commented 4 months ago

Description

IVPN Android app currently has support for pending payments, however the UX should be improved.

Current result:

Expected result:

QA Notes

How to test pending purchases: https://developer.android.com/google/play/billing/test#pending-purchases

jurajhilje commented 4 months ago

@gorkapernas This is available for QA.

gorkapernas commented 4 months ago

Verified on v2.10.8, I confirm the expected result described in the ticket. When a payment takes longer than expected, i.e. payment is on Pending status, the app displays the following message:

Image 2024-02-15 at 12 02 42 PM

Then the payment is validated without the user having to restart the application.

However, the user is not redirected to the application after the payment is validated, the app still remains in the plan selection screen, so in the end, the app must restarted in order to access the service (issue reproducible when creating a new account). @jurajhilje would it be possible to improve this behaviour?

Expected result:

jurajhilje commented 4 months ago

@gorkapernas New APK is available.

Expected result is:

Se, there should be no need to restart the app in order to process the pending payment, activate service and create session.

gorkapernas commented 4 months ago

Verified on the latest beta, the last issue reported has been fixed, the app behaves as described here: https://github.com/ivpn/android-app/issues/316#issuecomment-1957448313

Currently there is no need to restart the application to start using the service after the pending payment is validated. Tested initial payment and also renewals. This looks good to go.