ProCourse Memberships 💾

@Steven Thanks so much for this response, it’s very helpful.

Looks like custom fields solves most of my issue, I use the teaser plug-in, and come up with a working solution for membership types based on what the plug-in allows.

I looked at the table (Google translate for the win!) and it looks like we can have multiple membership levels of different costs through ProCourse, correct? If so, I can just create an add-on membership, that provides the exact same access but at a lower cost. We’re a small enough group that we can work with that as a solution and have someone manually make sure there is a “master” membership for these users.

Exactly, each cost will have its own membership page, that’s where the static page is the most helpful and the table was the best solution in my case.

Error: VM193:1 POST https://sandbox.example.com/memberships/checkout/submit-payment 500

Everything is configed to be live. Any ideas?

This is the actual debug log from Discourse.

https://pastebin.com/n3pabZVS

I have the plug-in running successfully on my site for monthly subscriptions.

However, is there an option to charge users to post a single Topic/post, rather than giving them monthly access?

Working on getting this set up, and I have a question. If I have a membership set for 12 months to a group “Bronze”, at the end of that 12 months, will the membership to that group be removed? Is there a warning to the user that it happened/about to happen?

Hi there,

I read through this a couple of times and tried the Demo site again, and I think I figured out my confusion with the signup / membership flow.

Here’s what I think I need to do:

Note: my site is 100% paid, there’s no free tier

  1. I have a static sales page (outside Discourse) with an application form. If the application is approved (manual process), I’ll send an invitation to join from within Discourse.

  2. new member signs up and gets a new account in Discourse.

  3. new member logs in to Discourse and sees
an empty forum, but for one topic about ‘creating a membership’ [perhaps this is where the pro-course-static-page comes in, and I can have a static page with payment options instead?]

  4. That topic [or static page] has two options: a monthly recurring payment and an annual recurring payment. Each link or button goes to the membership page I created within the Procourse plugin.

  5. New Member completes the payment and is added to the Member group, which has access to the full forum.

I think I’m on track here. But #3 and #4 are questionable to me. Am I missing an easier / more obvious path?

PS - I thought the payment page would come first, before the new member created an account. The need to create an account first was a big mental block for me, but I understand why. I think. :slight_smile:

I think you’re going to have usability issues for your user base by making them sign up, get approved, then go into an empty forum, then make them pay for content.

You may be better of by doing something similar where Discourse is locked, but use WP Discourse for SSO and Paid Memberships Pro to restrict access to the community. It’ll all happen more seamlessly for your users.

You could look at this for reference:

1 « J'aime »

Thanks @justin, I’ll check it out. The forum isn’t empty (I’ve had a small group in there for several months) but i see your point. I appreciate your perspective.

Can I ask why you go this route? Would there ever be a case when the application process is rejected?

I ask because you can solve the bulk of your issues if this piece can be skipped.

1 « J'aime »

Hi Joe,

The idea for the application is to get some background about the person and what they hope to get out of the community. I am part of another group where we had members come in and leave soon after because it was not a good fit for them.

I could change things to go directly to the member signup page, however, and then, once they have joined, ask them the same questions as part of their onboarding. That would work since in this case i have been talking a lot about what to expect prior to people signing up.

One question: if I go that route, can I send them straight to the procourse member page (where they subscribe and pay) and then create their Discourse account? Or is it still create an account then pick a payment plan?

I would combine this with the Custom Wizard plugin. Using that plugin you can capture any/all information you want on signup and then when the form is submitted, send the user to the membership payment page. That way you have it all in one flow.

Personally, I prefer it this way as opposed to the Paid Memberships Pro route. PMPro can work great up until you start trying to sync group memberships back and forth. You can do it, but in my experience it’s not as easy to set up and isn’t always reliable.

When I ran PMP on my site with group sync, I never had issues, but it’s true you need some technical know-how to make it work. Personal preferences aside, both are definitely options with unique advantages and disadvantages – @madbaker hope we’ve helped you come closer to possible decisions!

@joebuhlig @justin Thanks so much for this. I’m seeing a clearer path now.

1 « J'aime »

@joebuhlig @justin. Bonjour ; je pensais revenir sur ce sujet


J’ai rĂ©ussi Ă  faire fonctionner correctement le plugin Custom Wizard lors de l’inscription. Il appelle une page statique oĂč le nouvel utilisateur peut choisir une option d’abonnement rĂ©current (mensuel ou annuel).

J’ai deux niveaux dans le plugin d’adhĂ©sion et l’utilisateur accĂšde Ă  la bonne page d’adhĂ©sion via la page statique. GĂ©nial.

Le seul problĂšme est que l’intĂ©gration Stripe sur la page reste bloquĂ©e en train de tourner.

  • J’ai parcouru la documentation sur l’intĂ©gration Stripe sur le site communautaire Procourse. Il semble que ma configuration soit correcte, mais manifestement ce n’est pas le cas. :slight_smile:

  • J’ai vĂ©rifiĂ© Ă  nouveau les devises dans le plugin et sur Stripe (toutes en USD), les clĂ©s API et la clĂ© secrĂšte du webhook. Tout est en mode « test ».

  • J’ai créé un niveau de paiement unique au cas oĂč le modĂšle d’abonnement serait en cause (aucun changement).

  • J’ai consultĂ© les journaux de Stripe et il n’y a aucune trace d’une tentative d’appel (rien dans le journal).

Y a-t-il un moyen de consulter un journal dans Discourse pour voir quel appel est tenté ?

Je suis prĂȘt Ă  poster sur le Marketplace pour demander de l’aide, mais si je peux comprendre ce que le plugin essaie de faire, cela devrait au moins faciliter les choses. J’ai rĂ©duit mon flux d’inscription Ă  l’essentiel sans trouver de solution, mĂȘme si selon la documentation, cela devrait ĂȘtre simple maintenant. (Les derniers mots cĂ©lĂšbres !)

J’ai creusĂ© un peu plus et tentĂ© quelques autres choses par dĂ©sespoir :

  • J’ai reconstruit l’application et exĂ©cutĂ© discourse-doctor pour m’assurer qu’il n’y avait aucune erreur.
  • J’ai supprimĂ© et reconstruit mes niveaux d’adhĂ©sion dans le plugin procourse-membership en utilisant des clĂ©s de test Stripe.

Je peux voir les nouveaux plans de produits (version de test) dans Stripe lorsque j’active les niveaux. Hourra !
Mais lorsque je vais sur la page de paiement pour ces niveaux, la page se charge mais les champs de carte de crĂ©dit ne s’affichent pas. Le spinner tourne indĂ©finiment.

J’ai vĂ©rifiĂ© les journaux d’erreurs de Discourse et ceux de Stripe, mais rien n’apparaĂźt. Aucune entrĂ©e dans l’un ou l’autre journal.

J’ai donc pensĂ© que cela pouvait ĂȘtre un problĂšme liĂ© au « mode test ». J’ai apportĂ© ces modifications :

  • J’ai remplacĂ© les clĂ©s et le webhook de test par ceux de production.
  • J’ai recréé les niveaux d’adhĂ©sion dans le plugin et les ai activĂ©s.
  • Les nouveaux produits/plans apparaissent maintenant dans la section production de Stripe. Super !

Mais le mĂȘme problĂšme se produit lorsque je vais sur la page de paiement de Discourse. La page se charge, mais les champs de carte de crĂ©dit ne s’affichent pas. Le spinner tourne encore indĂ©finiment.

Aucune activitĂ© dans les journaux de Stripe ou les journaux d’erreurs de Discourse.

=== Eureka ! ===

Ouf. J’ai trouvĂ©.

Il faut un script pour que le paiement fonctionne : js.stripe.com/v3. Il Ă©tait bloquĂ© en raison d’une erreur de sĂ©curitĂ©. J’ai ajoutĂ© le script Ă  la liste blanche et tout fonctionne rapidement et parfaitement.

Un dĂ©tail vraiment important. Je consultais les journaux de l’application, mais un simple F12 pour vĂ©rifier la console aurait Ă©tĂ© Ă©norme il y a quatre jours. :face_with_head_bandage:

7 « J'aime »

Que se passe-t-il, par exemple, lorsqu’un abonnement de 30 jours arrive Ă  expiration ? Que voit l’abonnĂ© ? Comment peut-il se rĂ©abonner ?

De plus, comment annuler un abonnement ?

5 « J'aime »

Salut @john12, as-tu trouvĂ© la solution ? J’ai rencontrĂ© le mĂȘme problĂšme.

Je me pose la mĂȘme question.

Aussi, que se passe-t-il lorsqu’un utilisateur s’inscrit (et paie), puis annule ? Son abonnement prend-il fin immĂ©diatement ou Ă  la fin du mois pour lequel il a payĂ© ?

3 « J'aime »

J’ai finalement basculĂ© vers Memberful. Beaucoup mieux.