ushahidi / tenfour-mobile

TenFour mobile app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot Upgrade to Pro on Mobile App.

Eve-wanderi opened this issue · comments

Expected Behaviour

User should be able to upgrade to PRO on Mobile App

Actual Behaviour

Currently user cannot upgrade

Steps to Reproduce

  1. Create Organization
    2.Upgrade to 10/4

Environment)

  • Android App (beta)

@dalezak Last blocker on cycle 9

Ok, I can look into this today 👍

This is android specific. We don't allow billing upgrades on ios.

Hmm, @caharding @mackers this appears to be working as expected?

In the Android app, when clicking the Upgrade to TenFour Pro button, it opens the URL https://dev.tenfour.org/#/settings/payments in the mobile browser where the user can enter their credit card information.

I believe we ran into a bug trying to render the Chargebee in the iFrame on Android, so instead send them to the website.

The only issue I found, is that if they are not currently logged in on the website, it sends them to login page. And we aren't maintaining the original URL for redirecting the user afterwards.

@caharding @mackers I don't believe there is anything to fix here, I believe it currently has the intended behavior of sending iOS and Android users to the website to make a payment with their credit card.

I just sent a minor PR to @mackers to force 1/3 width on small screens or larger, since sometimes the columns aren't being divided evenly.