Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Problem with my stripe webhook

by

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 11 years ago by wzp.
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • May 8, 2014 at 9:18 am #10790
    Carthage Buckley
    Member

    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 #62789
    wzp
    Moderator

    How 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 #62790
    Carthage Buckley
    Member

    Thanks 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 #62791
    wzp
    Moderator

    If 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 #62792
    Carthage Buckley
    Member

    Ok, I will take it down and do a test sale and come back to you.

    May 8, 2014 at 7:15 pm #62793
    Carthage Buckley
    Member

    Ok, 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 #62794
    wpCommerce
    Moderator

    Hi, What value did you specify in the Return URL field (WP eStore->Settings->Return URL)?

    May 9, 2014 at 10:30 am #62795
    Carthage Buckley
    Member

    Hi, 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 #62796
    wzp
    Moderator

    Yes, they should both be “the same.” BTW, your site won’t self-destruct, if you just tried it 8)

    May 9, 2014 at 10:01 pm #62797
    Carthage Buckley
    Member

    Fair 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 #62798
    Carthage Buckley
    Member

    I 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 #62799
    wzp
    Moderator

    The 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 #62800
    Carthage Buckley
    Member

    Thank 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 #62801
    Carthage Buckley
    Member

    Please 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 #62802
    wzp
    Moderator

    For future reference, the “webhook” is to Stripe, what the IPN is to PayPal; they’re kinda important.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ