Webhook value for Stripe Plugin

  • skibacs
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #89763 by skibacs
Webhook value for Stripe Plugin was created by skibacs
Apologies if this is clearly specified somewhere (searched the site, forum and the documentation) but can't find it) ... do I need to set up a webhook in Stripe to properly enable the Stripe plugin for Membership Pro and for Event Booking? If so, what is the correct value/setting for that?
(Or is it only necessary for recurring payments?)
Thank you

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

More
8 years 5 months ago #89790 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Webhook value for Stripe Plugin
It is only necessary for recuring payment, so only needed for Membership Pro. The URL needs to be domain.com/index.php?option=com_osmember...ent_method=os_stripe

(It is mentioned in the readme.txt file in the payment plugin which you purchased)

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

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

3. If you use recurring subscription plans, you will need to login to your Stripe account, add a "Webhook URL" below:

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

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


Regards,

Tuan

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

  • skibacs
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #90142 by skibacs
Replied by skibacs on topic Webhook value for Stripe Plugin
thank you for the hint. Totally spaced out on the readme file.

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

More
8 years 5 months ago #90154 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Webhook value for Stripe Plugin
Great :)

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

More
8 years 5 months ago #90243 by Adam Beaty
Replied by Adam Beaty on topic Webhook value for Stripe Plugin
Tuan,

I got an email from Stripe, while in the setup process, that the webhook was sending a 301 redirect.

This is what I used:

TheOptionProphet.com/index.php?option=co...ent_method=os_stripe

In the email they sent me this:

One recent call to your endpoint returned an HTTP status code 301, with a redirect to TheOptionProphet.com/component/osmembers...ent_method=os_stripe . If you intended to have notifications sent to that URL, you may just want to update your webhook URL to TheOptionProphet.com/component/osmembers...ent_method=os_stripe .

Should I use the new URL that they sent me?

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

More
8 years 5 months ago #90258 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Webhook value for Stripe Plugin
Hi Adam

There must be a plugin on your site causing this issue. Please submit a support ticket sending us super admin account of your site so that I can helpchecking it (seem there is a plugin try to convert none sef url to sef URL and it causes the issue)

Tuan

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

More
5 years 8 months ago #127269 by Vitali Korezki
Replied by Vitali Korezki on topic Webhook value for Stripe Plugin
Hello Tuan,

Stripe offers to select a webhook event from the list. Do I need to select specific ones or just all?

Thanks,
Vitali

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

More
5 years 8 months ago #127272 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Webhook value for Stripe Plugin
Hi Vitali

Just choose invoice.payment_succeeded

Regards,

Tuan

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