August 26, 2019 at 8:25 pm #15531
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: [email@example.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.
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
ThanksAugust 27, 2019 at 2:52 am #79839
Have you setup the webhooks in your Stripe account so our plugin can receive a notification when a cancellation happens?
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
Hi. Thanks for the reply.
1. I set up this webhook set up for stripe subscriptions when I added the payment gateway:
I also have the web hook installed for stripe refunds.
the Stripe GUI shows both webhooks as “Live”
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?
ThanksAugust 27, 2019 at 7:22 pm #79841
Looking at the stripe Dashboard under web hooks,
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
to the webhook? or doe emember make the account inactive if it does not receive a
Web hook event at the scheduled time?August 27, 2019 at 7:33 pm #79842
Additional data for your consideration –
Stripe Dashboard shows no webhook attempts for the web hook
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
for each day the subscription pays?August 28, 2019 at 1:44 am #79843
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 #79844wpCommerceModerator
@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
1) First I added 100% of the strip subscription related events to the subscription web Hook:
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
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
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.
ThanksAugust 31, 2019 at 5:47 am #79848wpCommerceModerator
@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.
- You must be logged in to reply to this topic.