April 25, 2019 at 4:44 am #1997tradegraphicdesignParticipant
I’m setting up my webhooks at the moment, and I can’t see in the tutorial, what to do with the ‘event types’.
I have to choose from a big list of events, do I choose them all or just a few?
Thanks in advance
TimApril 25, 2019 at 8:08 am #2000alexanderfoxcParticipant
At the moment, Subscription addon requires all hooks to be sent. Stripe is modifying its API, so over time we will narrow down the list of required events only to those that are actually required.
The best way to is to let the addon create webhooks automatically using this manual: https://s-plugins.com/stripe-subscription-payments-addon/#webhooks It will handle all the stuff for you automatically to make sure there are no issues.April 25, 2019 at 7:18 pm #2002tradegraphicdesignParticipant
Great stuff, thanks for getting back. Much appreciated.
TimJanuary 3, 2020 at 10:13 pm #2586sethgillihanParticipant
I let the add-on create webhooks for me automatically, but I’ve been getting error messages about them from Stripe:
“We’re contacting you because we’re still having trouble delivering data to a webhook endpoint associated with your sethgillihan account in live mode. … Here is the summary of errors we have received when sending you webhooks: * 75 requests returned a HTTP 301, which usually signifies you need to update your webhook URL to point towards a new location.”
I’m concerned that I may be missing subscribers for this reason. I followed the manual instructions for adding webhooks manually; is there a reliable way to test that they’re working properly? I ran test transactions before that worked fine, but then got these errors….
Seth GillihanJanuary 4, 2020 at 12:17 am #2587AdminKeymaster
The webhook is mainly used for our plugin to receive a notification of the charge from Stripe. Once a subscription is created in your Stripe account, the charge will work fine even without the webhook. So you don’t have to be scared that you will miss a payment or anything.
The notice you are getting usually happens when the URL of the webhook has changed or there is redirect in place. Have you added any 301 redirect to your site (via a plugin or via the htaccess file)? If you go to your Stripe account and check the webhook URL value (in live mode), what value do you see? If you enter that in the browser’s address bar, does it get auto-redirected?
Alos, you can delete the existing webhook URLs in your Stripe account then re-create them using the addon to make sure there is no old URLs that is no longer needed is creating this notice.
- You must be logged in to reply to this topic.