Auto set new subscriber to Active

  • Mick Graham
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 5 months ago #129582 by Mick Graham
Auto set new subscriber to Active was created by Mick Graham
Something silly but after signing up my new members are set to Pending.
Where can I change this to Active instead?

thanks
Mick

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #129598 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Auto set new subscriber to Active
Hi Mick

What payment method you are using? If users paid for the subscription, it should be active instead of Pending

So maybe there is something wrong with payment process in this case. I need more information to guide you to check it

Tuan

Please Log in or Create an account to join the conversation.

  • Mick Graham
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 5 months ago #129605 by Mick Graham
Replied by Mick Graham on topic Auto set new subscriber to Active
Im using the new stripe checkout.

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #129608 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Auto set new subscriber to Active
Hi

In this case, could you please:

1. Make sure your site is on a public accessible server

2. Make sure you configured Stripe webhook as described in the readme.txt file in the payment plugin package. Below is it's content for reference::

1. Go to Membership Pro -> Payment Plugins, install the payment plugin

2. Click on the payment plugin to edit, enter payment plugin parameters, then publish it

- For API Keys, you can follow instructions at stripe.com/docs/keys#api-keys to get it.
- For Signing Secret, you need to setup Webhook URL (see the next step) and get the information from there. In the webhook URL setting, click on "Click to reveal" button to get it

3. You will need to login to your Stripe account, add a "Webhook URL" below (see stripe.com/docs/webhooks/setup#add-endpoint-dashboard for instructions)

domain.com/index.php?option=com_osmember...ent_method=os_stripe

(Of course, need to replace domain.com/ with your website url)

Stripe will also asks you for the events for webhook, select two events below:

checkout.session.completed
invoice.payment_succeeded


Regards

Tuan

Please Log in or Create an account to join the conversation.

  • Mick Graham
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 5 months ago - 4 years 5 months ago #129720 by Mick Graham
Replied by Mick Graham on topic Auto set new subscriber to Active
I found my mistake.

The webhook url was to
Code:
https://mysite
instead of
Code:
https://www.mysite

rgds
Mick
Last edit: 4 years 5 months ago by Mick Graham.

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #129729 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Auto set new subscriber to Active
Great. Happy to hear that it's working as expected and thanks for the update Mick

Tuan

Please Log in or Create an account to join the conversation.