Home › Forums › Stripe Payments Plugin › Subscription Webhooks – Event Types
Tagged: add-on, Subscriptions, webhooks
- This topic has 4 replies, 4 voices, and was last updated 4 years, 10 months ago by Admin.
-
AuthorPosts
-
April 25, 2019 at 4:44 am #1997tradegraphicdesignParticipant
Hi There,
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 #2000alexanderfoxcParticipantHi Tim.
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 #2002tradegraphicdesignParticipantGreat stuff, thanks for getting back. Much appreciated.
TimJanuary 3, 2020 at 10:13 pm #2586sethgillihanParticipantI 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….
Thank you!
Seth GillihanJanuary 4, 2020 at 12:17 am #2587AdminKeymasterThe 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.
-
AuthorPosts
- You must be logged in to reply to this topic.