strangerstudios / paid-memberships-pro

The Trusted Membership Platform That Grows with You: Restrict access to content and charge recurring subscriptions using Stripe, PayPal, and more. Fully open source. 100% GPL.
https://www.paidmembershipspro.com
Other
468 stars 359 forks source link

Integrate with Telegram Chat #706

Open andrewlimaza opened 6 years ago

andrewlimaza commented 6 years ago

Feature request to integrate with Telegram Chat. Restrict non-members from joining a Telegram Chat.

serdam55 commented 6 years ago

The Telegram support for PaidMembershipPro is a great thing to add, that's how I imagine this feature:

  1. An user subscribe a paid membership for access to restricted content, like some article which non paid users cannot see.
  2. Now when I publish an article, the content of the paid article is automatically sent to private telegram channel through this plugin.
  3. At this point should enter in action the addon of PaidMembershipPro, infact the users on telegram channel must see the content only if have a paid membership plan on the site, when a non paid member try to join to the private telegram channel the bot attached to the site should communicate that this user cannot access to telegram channel, and then the joining operation will be refused.

So for summarize, the "free" users cannot see the content of the private channel because the bot can see if that user have a paid membership or not.

How to recognize the user? If the paid user want access to private telegram channel, should provide in the wordpress profile the telegram username, so the bot can access to the database information of that user and see if the membership is a paid membership or not.

kimcoleman commented 5 years ago

We do not plan to add this feature into the core Paid Memberships Pro plugin but it could be developed by an external developer as a separate integration plugin.