Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Problem with my stripe webhook
- This topic has 14 replies, 3 voices, and was last updated 10 years, 6 months ago by wzp.
-
AuthorPosts
-
May 8, 2014 at 9:18 am #10790Carthage BuckleyMember
I have received an email from Stripe this morning telling me that they are encountering an error with my Stripe webhook. I have copied the main paragrpah below:
Message from Stripe
It looks like we’ve had a bit of trouble delivering webhooks to your live webhook handler running at [http://coachingpositiveperformance.com/?wppg_subsc=1&event=stripe]. Since 2014-05-03 10:06:21 +0000, at least 73 of the times we’ve attempted to deliver a webhook have failed, and none have succeeded. Looking at the most recent failure, we received an HTTP status code of 307 from your webhook URL. It looks like your webhook URL returned a redirect to [http://coachingpositiveperformance.com/welcome-gate-sfp/?wppg_subsc=1&event=stripe]. However, our webhook system only treats a webhook delivery as successful if we get back a status code between 200 and 299, so this redirect is considered a failure. You may just want to update your webhook URL to [http://coachingpositiveperformance.com/welcome-gate-sfp/?wppg_subsc=1&event=stripe]
End stripe message
I think that this issue arises due to the fact that I have a welcome gate live on my site. I don’t want to remove the welcome gate as it gets me a good number of subscribers.
Is there a workaround? I still receive the payments but customers are not redirected to a thank you page as I would like.
May 8, 2014 at 2:28 pm #62789wzpModeratorHow long will it take for you to temporarily remove it, test, then put it back; so that your “I think” can become an “I know?”
May 8, 2014 at 3:08 pm #62790Carthage BuckleyMemberThanks for getting back to me.
I was assuming that it was the problm as the url returned is the welcome gate.
I can take it down easily. What test do I need to do?
May 8, 2014 at 5:26 pm #62791wzpModeratorIf taking it down fixes the problem, but putting it back up recreates the problem; then you know for sure that is the problem. Otherwise, we’re just guessing, and practicing “voodoo site management.”
May 8, 2014 at 6:51 pm #62792Carthage BuckleyMemberOk, I will take it down and do a test sale and come back to you.
May 8, 2014 at 7:15 pm #62793Carthage BuckleyMemberOk, with the welcome gate down, I received an email from Stripe telling me that they have been able to deliver a webhook.
There seems to be a second issue too as the redirect is not working.
The url that I have specified as the return URL is:
coachingpositiveperformance.com/thank-you-page
But I am been redirected to the following url:
[https://coachingpositiveperformance.com/wp-content/plugins/wp-payment-gateway/coachingpositiveperformance.com/thank-you-page]
May 9, 2014 at 1:44 am #62794wpCommerceModeratorHi, What value did you specify in the Return URL field (WP eStore->Settings->Return URL)?
May 9, 2014 at 10:30 am #62795Carthage BuckleyMemberHi, in the eStore settings, I have specified:
[http://coachingpositiveperformance.com]
I had forgotten about that as I thought that return URL that I specified for Stripe, in the Payment Gateway settings is:
[coachingpositiveperformance.com/thank-you-page]
I’m guessing that it should be the same page for both or do I need to have a link specified for both?
May 9, 2014 at 2:29 pm #62796wzpModeratorYes, they should both be “the same.” BTW, your site won’t self-destruct, if you just tried it
May 9, 2014 at 10:01 pm #62797Carthage BuckleyMemberFair point.
I gave it a try and no websites, computers or low-flying ducks were harmed in the process.
The redirect is now working and I have not received any error message about webhooks.
Thank you for your help.
May 11, 2014 at 7:46 pm #62798Carthage BuckleyMemberI have now received a message from Stripe telling me that they cannot deliver the webhook.
Just to recap the webhook did deliver when the welcome gate was down but now that the welcome gate is back up it is not delivering again. The most recent message is:
Message from Stripe
[similar message as my first post]
End stripe message
May 11, 2014 at 11:25 pm #62799wzpModeratorThe problem then, is the webhook is being intercepted by the welcome-gate plugin, and there is little we can do to fix it. You need to contact LeadBrite (good luck) and ask them if there is a way to prevent the webhook from being intercepted.
May 12, 2014 at 10:33 am #62800Carthage BuckleyMemberThank you WZP,
I will indeed contact Leadbrite.
Just to help my decision making, what is that the webhhook is doing for me? i.e. is it critical? If it is then I may have little choice but to remove the welcome gate (if there is nothing that leadbrite can do).
May 12, 2014 at 6:50 pm #62801Carthage BuckleyMemberPlease ignore my previous question.
If they cannot give me a workaround then the welcome gate is more trouble than it is worth.
May 12, 2014 at 8:16 pm #62802wzpModeratorFor future reference, the “webhook” is to Stripe, what the IPN is to PayPal; they’re kinda important.
-
AuthorPosts
- You must be logged in to reply to this topic.