Skip to content
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

Paid Apps handling and creation on the mobile side #1513

Merged
merged 7 commits into from
Dec 10, 2024
Merged

Conversation

mdmohsin7
Copy link
Collaborator

@mdmohsin7 mdmohsin7 commented Dec 10, 2024

  • Add the paid/free and $ per month configuration to the app creator page and backend update
  • Display $ per month instead of "Install App"
  • Show $ per month in the app list
  • Navigate to the Stripe payment link to make a payment. Automatically check the payment status every 3-5 seconds, only when the user clicks the Stripe link ($/month)

Part of #1404

ScreenRecording_12-10-2024.12-56-37_1.1.mp4

@beastoin
Copy link
Collaborator

1/ a toggle to switch the app Free <> Paid and, only display payment plan, pricing with the paid app, what do you think man?
2/ you could use is_user_paid in the app model to determine if use paid the app successful or not. about the trigger 3-5s, don't wait for the payment_link, you could use a mock timer to implement it.

@mdmohsin7

@beastoin
Copy link
Collaborator

3/ keep monthly recurring as the only option for now.

@mdmohsin7

@mdmohsin7
Copy link
Collaborator Author

1/ thought of it, but that would be an additional item in the ui so instead thought of just adding a single amount field, if it's empty then it will be considered free. But I guess I'll just add the paid/free dropdown
2/ Alright
3/ Alright

@beastoin

@beastoin beastoin mentioned this pull request Dec 10, 2024
5 tasks
@beastoin
Copy link
Collaborator

Screenshot 2024-12-10 at 18 56 36 Screenshot 2024-12-10 at 18 22 25

@beastoin
Copy link
Collaborator

@mdmohsin7 the api is ready on the development env, please integrate it with your PR. 😌

@mdmohsin7
Copy link
Collaborator Author

@mdmohsin7 the api is ready on the development env, please integrate it with your PR. 😌

Alright let me

Also I like how you are using that image everywhere haha

@beastoin
Copy link
Collaborator

lgtm @mdmohsin7 🥳

@beastoin beastoin merged commit 1075891 into main Dec 10, 2024
@beastoin beastoin deleted the paid-app-mobile branch December 10, 2024 13:37
beastoin added a commit that referenced this pull request Dec 10, 2024
issue: #1404


## Deploy steps
- [ ] Merge #1514
- [x] Merge #1513
- [ ] Add env var: `STRIPE_API_KEY` `STRIPE_WEBHOOK_SECRET` to backend
service
- [ ] Deploy backend
- [ ] Deploy app
@beastoin beastoin mentioned this pull request Dec 10, 2024
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants