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

Emember not receiving cancelled stripe subscriptions

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › Emember not receiving cancelled stripe subscriptions

  • This topic has 10 replies, 3 voices, and was last updated 5 years, 8 months ago by wpCommerce.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • August 26, 2019 at 8:25 pm #15531
    dbc1717
    Participant

    Hi. We Use Emember and EStore and the payment gateway.

    We have a number of recurring subscriptions using paypal, and they work fine.

    We are wanting to move new subscriptions to stripe for recurring payments while leaving the “legacy” subscribers still on Paypal until their credit cards expire, etc. We use a shortcode to force subscribers to the stripe gateway.

    In testing so far, a new subscriber checks out with stripe. We get the payment, and E-Member gets the notice and upgrades the user to the new membership level. In the emember debug file we see:(email changed to xxx)

    :Completing the registration for premium membership account. Member Email: [xxx@xxx.com] eMember ID: 10680

    But, to test subscription failure/cancellation, we then cancelled this subscription. E-Member DID NOT auto downgrade, and, we see nothing in the log files.

    Please tell me how we can get this working, as we need to downgrade users to to a free membership when their payment does not go through.

    Details:

    Estore 8.0.9 Emember 10.2.2 Payment Gateway 2.3.4 emember login using email 1.1

    Emember Downgrade account 1.5

    Wordpress 4.9.10, PHP 7.0.33

    Dedicated Webserver

    Thanks

    August 27, 2019 at 2:52 am #79839
    admin
    Keymaster

    Have you setup the webhooks in your Stripe account so our plugin can receive a notification when a cancellation happens?

    https://www.tipsandtricks-hq.com/ecommerce/wp-payment-gateway-bundle-stripe-subscription-setup-2764

    The plugin doesn’t auto-downgrade, when a subscription is cancelled, it will deactivate the account (based on the settings you have selected in the membership level).

    August 27, 2019 at 6:48 pm #79840
    dbc1717
    Participant

    Hi. Thanks for the reply.

    1. I set up this webhook set up for stripe subscriptions when I added the payment gateway:

    [https://mysite.com/?wppg_subsc=1&event=stripe]

    I also have the web hook installed for stripe refunds.

    the Stripe GUI shows both webhooks as “Live”

    [https://kingdomflame.com/?wppg_subsc=1&event=stripe]

    Unfortunately, Emember did not seem to get the notification…. What would my next steps in troubleshooting be?

    2) I just added Emember downgrade account free plug in, hopefully this will automatically convert expired/failed subscriptions to convert to a free member account. Any reason this would not work with my current set up?

    Thanks

    August 27, 2019 at 7:22 pm #79841
    dbc1717
    Participant

    Looking at the stripe Dashboard under web hooks,

    subscription_schedule.completed

    is the only event currently set up to send to the web hook in Emember

    Since I was trying to test a subscription failing, should I also add

    subscription_schedule.canceled

    to the webhook? or doe emember make the account inactive if it does not receive a

    subscription_schedule.completed

    Web hook event at the scheduled time?

    August 27, 2019 at 7:33 pm #79842
    dbc1717
    Participant

    Additional data for your consideration –

    Stripe Dashboard shows no webhook attempts for the web hook

    [https://mysite.com/?wppg_subsc=1&event=stripe]

    I have ongoing stripe test subscriptions paying me $1.00 daily…. If stripe is set up right, should we not be seeing at least a web hook attempt on

    [https://mysite.com/?wppg_subsc=1&event=stripe]

    for each day the subscription pays?

    August 28, 2019 at 1:44 am #79843
    admin
    Keymaster

    You need to select all the subscription related events to be sent for that hook. Our gateway bundle plugin will know what to do when it receives the event notification. So please edit that hook and include all the events for subscription.

    August 28, 2019 at 4:15 am #79844
    wpCommerce
    Moderator

    @dbc1717, Do you have all the event types selected for that webhook URL? Please keep the debug option enabled in the payment gateway bundle settings so we can troubleshoot this issue.

    August 28, 2019 at 11:39 pm #79845
    dbc1717
    Participant

    Okay,

    1) First I added 100% of the strip subscription related events to the subscription web Hook:

    subscription_schedule.updated

    subscription_schedule.released

    subscription_schedule.expiring

    subscription_schedule.created

    subscription_schedule.canceled

    subscription_schedule.aborted

    subscription_schedule.completed

    2) Then, I cancelled a test subscription.

    3) Unfortunately, the Strip dashboard shows Zero Webhook attempts and Zero Web Hook Errors in the last 7 days.

    4) Verifying that no webhook was received by my server, I see that EMember DID NOT downgrade the account.

    5)Looking at the Emember logs, I see no event coming from the webhook.

    What should we try next?

    August 29, 2019 at 4:30 am #79846
    admin
    Keymaster

    The following seems like an issue from Stripe’s side for this particular merchant account:

    Stripe dashboard shows Zero Webhook attempts

    If Stripe is not even sending the notification via the webhook then our plugin won’t receive it.

    Are you maybe mixing it up with testmode vs livemode?

    August 29, 2019 at 4:03 pm #79847
    dbc1717
    Participant

    No, I am not mixing them up. I am opening a ticket with stripe tech support as their logs and their Dashboard UI show the event but it does not look like the webhook is working.

    Thanks

    August 31, 2019 at 5:47 am #79848
    wpCommerce
    Moderator

    @dbc1717, You need to check the payment gateway bundle log first. Payment gateway bundle receives the notification and sends to eMember after processing it.

    Do you have the “customer.subscription.deleted” event enabled for that webhook? Stripe triggers this event after a subscription is canceled.

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 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