PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, November 11, 2022

[FIXED] how to set up subscription service for python app

 November 11, 2022     authorization, braintree, payment-gateway, python, tkinter     No comments   

Issue

My head is spinning, I simply want a way where a user can subscribe to my desktop application. My basic needs:

  1. the user signs up and joins the subscription
  2. once the user has joined the paid subscription they are allowed access to the python tkinter app
  3. if the user leaves the subscription then they are not allowed access anymore

I've gone from license keys to sandbox Braintree but I still have no clue what to do, does anyone know how to integrate sandbox Braintree with python tkinter or is there another way?

Thanks for any help in advance


Solution

You need to have a web-server that will contain information about "paid" subscription.
This subscription should have key or signature that also stored on desktop.

And then when tkinter-app starting - send a request to that web-server to check if that key is "paid".
If yes - continue with app loading, else - open checkout page.



Answered By - wowkin2
Answer Checked By - David Goodson (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing