Issue with Stripe Subscription Cancel Button in SimpleMembership Plugin
-
To the Development Team,
I appreciate the excellent SimpleMembership plugin as always. However, I have encountered an issue with the Stripe Subscription cancel button recently and would like to request your support.
I have implemented the Stripe Subscription cancel button using the shortcode [swpm_stripe_subscription_cancel_link]. In my environment, the cancel button is displayed correctly, and subscription cancellation works as expected. I have published a page with the cancel button for users to utilize, guiding them to use that page if they wish to cancel. However, I have received inquiries from some users stating that they see “No active subscriptions” and are unable to cancel their subscriptions.
Upon inspecting the file class.swpm-shortcodes-handler.php, I found that the “No active subscriptions” message is displayed when $subs->get_active_subs_count() is empty. However, all the users who contacted me have active and valid Stripe subscriptions, with successful payments, and their SimpleMembership member status is also valid. It would be greatly appreciated if you could explain why $subs->get_active_subs_count() is empty for these users.
If you have any insights or solutions regarding potential causes and resolutions to ensure that the cancel button is displayed correctly for users, I would greatly appreciate your assistance.
WordPress Version : 5.8.9
Plugin Version : Simple WordPress Membership 4.3.6
Stripe Webhook API Version : 2020-08-27
Stripe Webhook Send Events : customer(all 21 events), charge(all 13 events), invoice.payment_succeededThank you for your help.
- You must be logged in to reply to this topic.