Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact
You are here: Home

openartist

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • March 17, 2024 at 10:52 pm in reply to: Failed message after testing stripe subscription flow. #27828
    openartist
    Participant

    I went ahead and changed to LIVE and used my card to test the flow. Oddly, that works fine. So not sure what the issue is. Would be curious to know if the devs have seen this kind of error before. Cheers!

    March 17, 2024 at 9:55 pm in reply to: Failed message after testing stripe subscription flow. #27827
    openartist
    Participant

    Here’s a more complete output:

    [2024/03/18 05:23:05] – SUCCESS: Auto login after registration feature is enabled in settings. Performing auto login for user: test2@test.test
    [2024/03/18 05:23:05] – SUCCESS: Handling auto login request. The login related debug log file will contain additional details.
    [2024/03/18 05:23:05] – SUCCESS: After login redirection addon. Checking if member need to be redirected.
    [2024/03/18 05:23:05] – SUCCESS: After login redirection is configured in the membership level. Redirecting to: /home
    [2024/03/18 05:23:09] – SUCCESS: Stripe SCA checkout session create request received. Processing request…
    [2024/03/18 05:23:10] – SUCCESS: Stripe SCA checkout session created successfully.
    [2024/03/18 05:23:29] – SUCCESS: Stripe subscription webhook received: customer.subscription.updated. Checking if we need to handle this webhook.
    [2024/03/18 05:23:29] – SUCCESS: Stripe customer.subscription.updated webhook status: active
    [2024/03/18 05:23:29] – SUCCESS: Updating the access start date if applicable for this subscription payment. Subscriber ID: sub_1OvRAwJl117ujgSXhksuarxn, Email: , Account status: active
    [2024/03/18 05:23:29] – SUCCESS: Did not find an existing record in the members table for subscriber ID: sub_1OvRAwJl117ujgSXhksuarxn
    [2024/03/18 05:23:29] – SUCCESS: This could be a new subscription payment for a new subscription agreement.
    [2024/03/18 05:23:29] – SUCCESS: End of Stripe subscription webhook processing. Webhook type: customer.subscription.updated
    [2024/03/18 05:23:30] – SUCCESS: Stripe SCA Subscription IPN (HTTP POST) received. Processing request…
    [2024/03/18 05:23:30] – SUCCESS: Stripe subscription webhook received: invoice.paid. Checking if we need to handle this webhook.
    [2024/03/18 05:23:30] – SUCCESS: End of Stripe subscription webhook processing. Webhook type: invoice.paid
    [2024/03/18 05:23:30] – FAILURE: Fatal error! Payment with ref_id swpm_ddec1b999f8bf182bc4bdd38528a5ec5|1006 can’t be found
    [2024/03/18 05:23:31] – SUCCESS: Stripe subscription webhook received: invoice.payment_succeeded. Checking if we need to handle this webhook.
    [2024/03/18 05:23:31] – SUCCESS: End of Stripe subscription webhook processing. Webhook type: invoice.payment_succeeded
    [2024/03/18 05:23:36] – SUCCESS: Stripe SCA Subscription IPN (HTTP POST) received. Processing request…
    [2024/03/18 05:23:37] – SUCCESS: Stripe SCA Subscription charge successful.
    [2024/03/18 05:23:37] – SUCCESS: swpm_handle_subsc_signup_stand_alone(). Custom value: subsc_ref=3&user_ip=76.176.10.197&swpm_id=46, Unique reference: cus_Pkx5Yr97xcFCVO
    [2024/03/18 05:23:37] – SUCCESS: Modifying the existing membership profile… Member ID: 46
    [2024/03/18 05:23:37] – SUCCESS: Setting access starts date value to: 2024-03-18
    [2024/03/18 05:23:37] – SUCCESS: Updating the current membership level (2) of this member to the newly paid level (3)
    [2024/03/18 05:23:37] – SUCCESS: [MailChimp] Mailchimp integration addon. Membership upgrade hook.
    [2024/03/18 05:23:37] – SUCCESS: [MailChimp] Debug data: |||
    [2024/03/18 05:23:37] – SUCCESS: swpm_membership_level_changed action triggered. Member ID: 46, Old Level: 2, New Level: 3
    [2024/03/18 05:23:37] – SUCCESS: Retrieving user record for member ID: 46
    [2024/03/18 05:23:37] – SUCCESS: Calling user role update function.
    [2024/03/18 05:23:37] – SUCCESS: Empty caps. Calling get_wp_user_roles_by_id() to retrieve role.
    [2024/03/18 05:23:37] – SUCCESS: User role updated.
    [2024/03/18 05:23:37] – SUCCESS: Member upgrade/update completion email successfully sent to: test2@test.test
    [2024/03/18 05:23:37] – SUCCESS: Transaction data saved.
    [2024/03/18 05:23:37] – SUCCESS: Redirecting customer to: https://findpresence.com/home
    [2024/03/18 05:23:37] – SUCCESS: End of Stripe SCA Subscription IPN processing.

    March 13, 2024 at 3:57 pm in reply to: Issues with Stripe Support/Canceling Accounts #27804
    openartist
    Participant

    The issue I’m having is the plugin is causing a fatal error, I’m not sure why, could be a conflict with the original plugin, I also had to dig around the code to make sure I was getting the right Stripe hooks, there may be some that are incorrect, and then at the end I’m not properly making the account inactive.

    March 12, 2024 at 10:24 pm in reply to: Issues with Stripe Support/Canceling Accounts #27801
    openartist
    Participant

    In case you don’t mind taking a look, I’ve been trying to get a plugin to work that addresses this issue. It’s meant to cancel the subscription and downgrade the user to a free plan if available or make their account inactive if not: https://github.com/openartist/swpm-cancel-stripe-subscription

    I found a bug with you current button, if the user cancels their account is made inactive and they can’t actually log out.

    March 11, 2024 at 7:51 pm in reply to: Issues with Stripe Support/Canceling Accounts #27796
    openartist
    Participant

    I tried creating a plugin to resolve this but I’m getting a fatal error. If you have any spare time here’s the repo: https://github.com/openartist/swpm-cancel-stripe-subscription

    March 11, 2024 at 5:02 pm in reply to: Issues with Stripe Support/Canceling Accounts #27795
    openartist
    Participant

    Hey there,
    Thanks, I just tested and have some notes:
    1) The button works but should only appear if a user has an active subscription, I put it within some shortcodes to hide from any user that doesn’t have that subscription level.
    2) This is the biggest issue: if a user clicks it they will be logged out and have their account made inactive. This basically reproduces the Delete Account link. Here’s the expected behavior: A user’s subscription is canceled (with either a confirmation message or a screen refresh that shows the state change), and they are reverted to whatever the “free” membership level is. Finally, they remain logged in and their account remains active.

    I might try and add this functionality in myself. Can you give me any insights into how this is handled within the code?

    I

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
Next Page »

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy