Forum Replies Created
-
AuthorPosts
-
Ron
ParticipantThanks for the reply,
The most recent one that failed is a long time customer with over 30 successful subscription updates. Nothing has changed with this customer. Customer and subscription ID’s match.
I found a Stripe webhook IP address list and added it to the firewall allow list. Other than that I’m not sure what else I can do.
On the one that failed I see “Webhook type: customer.subscription.updated” and “Webhook type: invoice.paid” but no “Webhook type: invoice.payment_succeeded”
Also there is no payment record added to the transaction list.Thanks
RonRon
ParticipantWe had several successful subscription updates over the weekend, then one failed this morning.
The payments are also not showing upon the transaction page when this happens.
Here is a de bug log including a successful and failed membership update.[2026/03/01 21:49:43] – SUCCESS: Stripe webhook event data validated successfully!
[2026/03/01 21:49:43] – SUCCESS: Stripe subscription webhook received: invoice.payment_succeeded and api version: 2026-02-25.clover. Checking if we need to handle this webhook.
[2026/03/01 21:49:43] – SUCCESS: Stripe invoice.payment_succeeded webhook for subscription_cycle. This is a successful subscription charge. Capturing payment data.
[2026/03/01 21:49:43] – SUCCESS: Using invoice id: in_1T6GuwCsLPBj2lUmxFDb3bSl to retrieve charge_id.
[2026/03/01 21:49:43] – SUCCESS: Using stripe secret key from global settings.
[2026/03/01 21:49:43] – SUCCESS: Updating the access start date if applicable for this subscription payment. Subscriber ID: sub_1Qxwx6CsLPBj2lUmV3zPMzPD, Email: ****@yahoo.com, Account status: active
[2026/03/01 21:49:43] – SUCCESS: Found a record in the member table. The Member ID of the account to check is: 817 Membership Level: 3
[2026/03/01 21:49:43] – SUCCESS: Updated the member profile with current date as the subscription start date.
[2026/03/01 21:49:43] – SUCCESS: Value after update – Subscriber ID: sub_1Qxwx6CsLPBj2lUmV3zPMzPD, Start Date: 2026-03-01
[2026/03/01 21:49:43] – SUCCESS: Transaction data saved for Stripe subscription notification.
[2026/03/01 21:49:43] – SUCCESS: End of Stripe subscription webhook processing. Webhook type: invoice.payment_succeeded
[2026/03/01 21:49:45] – SUCCESS: Stripe webhook event data validated successfully!
[2026/03/01 21:49:45] – SUCCESS: Stripe subscription webhook received: invoice.paid and api version: 2026-02-25.clover. Checking if we need to handle this webhook.
[2026/03/01 21:49:45] – SUCCESS: End of Stripe subscription webhook processing. Webhook type: invoice.paid
[2026/03/01 22:31:31] – SUCCESS: Completed the profile_update hook handling – SWPM user profile (Member ID: 1193) updated with the latest WP user data.
[2026/03/01 22:31:31] – SUCCESS: swpm_membership_level_changed action triggered. Member ID: 1193, Old Level: 2, New Level: 13
[2026/03/01 22:31:31] – SUCCESS: Retrieving user record for member ID: 1193
[2026/03/01 22:31:31] – SUCCESS: Calling user role update function.
[2026/03/01 22:31:31] – SUCCESS: Empty caps. Calling get_wp_user_roles_by_id() to retrieve role.
[2026/03/01 22:31:31] – SUCCESS: Completed the profile_update hook handling – SWPM user profile (Member ID: 1193) updated with the latest WP user data.
[2026/03/01 22:31:31] – SUCCESS: User role updated.
[2026/03/01 22:31:58] – SUCCESS: Completed the profile_update hook handling – SWPM user profile (Member ID: 1192) updated with the latest WP user data.
[2026/03/01 22:31:58] – SUCCESS: swpm_membership_level_changed action triggered. Member ID: 1192, Old Level: 2, New Level: 12
[2026/03/01 22:31:58] – SUCCESS: Retrieving user record for member ID: 1192
[2026/03/01 22:31:58] – SUCCESS: Calling user role update function.
[2026/03/01 22:31:58] – SUCCESS: Empty caps. Calling get_wp_user_roles_by_id() to retrieve role.
[2026/03/01 22:31:58] – SUCCESS: Completed the profile_update hook handling – SWPM user profile (Member ID: 1192) updated with the latest WP user data.
[2026/03/01 22:31:58] – SUCCESS: User role updated.
[2026/03/02 10:59:30] – SUCCESS: Stripe webhook event data validated successfully!
[2026/03/02 10:59:30] – SUCCESS: Stripe subscription webhook received: customer.subscription.updated and api version: 2026-02-25.clover. Checking if we need to handle this webhook.
[2026/03/02 10:59:30] – SUCCESS: End of Stripe subscription webhook processing. Webhook type: customer.subscription.updated
[2026/03/02 12:00:07] – SUCCESS: Stripe webhook event data validated successfully!
[2026/03/02 12:00:07] – SUCCESS: Stripe subscription webhook received: invoice.paid and api version: 2026-02-25.clover. Checking if we need to handle this webhook.
[2026/03/02 12:00:07] – SUCCESS: End of Stripe subscription webhook processing. Webhook type: invoice.paid
[2026/03/02 12:00:07] – FAILURE: Error: can’t retrieve subscription cpt record!
[2026/03/02 12:00:23] – FAILURE: Error: can’t retrieve subscription cpt record!
[2026/03/02 13:00:31] – FAILURE: Error: can’t retrieve subscription cpt record!Please let me know how to do to resolve this issue.
Thanks,
RonRon
ParticipantIf I disable the All-In-One Security plugin it works. I’m just not sure what setting within the security plugin is causing the problem. Thanks again.
Ron
ParticipantI created a new Stripe buy now button. After payment I get an error “You don’t have authorization to view this page. HTTP ERROR 403” on on the “https://website.com/?swpm_process_stripe_sca_buy_now=1&ref_id=swpm_6d46623765befd5d2aa41b7ba6d37a12|125713” page.
The account is not upgraded.Here is the log. Thanks.
[2025/04/03 18:16:34] – SUCCESS: Stripe SCA checkout session create request received. Processing request…
[2025/04/03 18:16:34] – SUCCESS: Stripe SCA checkout session created successfully.Ron
ParticipantOk thanks, I’ll try that.
Ron
ParticipantIt’s working after the newest update. Thanks!
March 11, 2024 at 1:41 pm in reply to: Stripe payment renewing without payment Customer gets a free month after failed #27790Ron
ParticipantThanks for the response. The problem has nothing to do with the customer deleting or canceling the membership.
Let me clarify.
The customer signs up for a monthly subscription with a 7 day free trial
After the 7 day trial has ended Stripe created an invoice and try’s to process the payment. When the invoice is created in Stripe, the plugin renews the membership for 30 days.
If the payment fails the invoice is marked past_due but the subscription remains active.
Stripe will try to collect the payment 3 more times over the following week.
If all attempts to collect the payment fail Stripe will mark it as uncollected but the membership stays active for the full 30 day cycle.Is it possible to set the subscription to expired when the webhook “SUCCESS: Stripe customer.subscription.updated webhook status: past_due” is sent or not renew the subscription until the payment is successful in Stripe?
March 9, 2024 at 4:03 pm in reply to: Stripe payment renewing without payment Customer gets a free month after failed #27782Ron
ParticipantThat’s the problem, the payment was not successful but the membership still renewed. The status in the webhook is past_due. Even after stripe fails to collect the payment the membership is not canceled.
March 8, 2024 at 5:31 pm in reply to: Stripe payment renewing without payment Customer gets a free month after failed #27776Ron
ParticipantHere is the log from the latest failed sritripe payment.
Thanks.[2024/03/07 10:51:29] – SUCCESS: Stripe subscription webhook received: customer.subscription.updated. Checking if we need to handle this webhook.
[2024/03/07 10:51:29] – SUCCESS: Stripe customer.subscription.updated webhook status: past_due
[2024/03/07 10:51:29] – SUCCESS: Stripe customer.subscription.updated webhook status is not “active” or “trialing”. Ignoring this webhook.February 22, 2024 at 2:16 pm in reply to: Stripe payment renewing without payment Customer gets a free month after failed #27746Ron
ParticipantSorry debugging was not turned on. I have the Stripe event log when the invoice was created and the membership was renewed. Here is the part where it sets “status”: “active”,. Let me know if you need all of the log.
If you need the SWPM log I will have to turn it on and wait for another payment to fail.customer.subscription.updated
“quantity”: 1,
“schedule”: null,
“start_date”: 1705028216,
“status”: “active”,
“test_clock”: null,
“transfer_data”: null,
“trial_end”: null,
“trial_settings”: {
“end_behavior”: {
“missing_payment_method”: “create_invoice”I am having another issue where after login in any page that was visited when logged out needs to be refreshed to show the logged in version. I am using W3 Total Cache and have tried all of the suggested settings. I can make a new post about this if needed.
Other than that everything works great.
Thanks!
February 21, 2024 at 2:59 am in reply to: Stripe payment renewing without payment Customer gets a free month after failed #27741Ron
ParticipantThanks for the quick reply but the setting doesn’t really matter. The membership remains active even after all of the payments have failed and the (customer.subscription.deleted) webhook is sent. It should only renew after a successful payment, not after the invoice is created.
-
AuthorPosts