• I got an email titled “Membership Payment Failed” for a user and the content just say “payment failed” and give me the user name, address, and CC info.

    What exactly does this mean? What do I have to do as an admin? What happens with the user? Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi there,

    Thank you for getting in touch with us.

    This email is obviously a notification that a user failed to pay, probably their recurring membership. I believe the membership of the user will continue for sometime even though they have not paid their subscription (this is mainly to give the user a chance to change billing details in an event their credit card expires).

    You as the admin can make contact with the user, notify them of the failed payment and decide what you would like to do. If they do not comply with your requirements you can manually cancel their subscription by navigating to:

    WordPress Dashboard > Users > Username of user who failed to pay > Membership Level > Current Level > None

    They should still have their account but they won’t be able to have access to any restricted content on your site.

    Hope this helps!
    Trav

    Thread Starter navyspitfire

    (@navyspitfire)

    Hi Trav, thanks. So this is due to the card information being incorrect then? I.e., they have a new card, their old card is deactivated, etc…

    Also I cannot see the link as I am using the free version. Thanks.

    Hi @navyspitfire,

    It is very likely that the user’s card was not charged for one of those reasons. I think it will be best to make contact with the user to find out.

    Sorry for sending you a premium member link, it was a code recipe that will allow you to automatically cancel the user’s membership after a certain number of failed attempts. You might be able to find it on GitHub if you want to have a closer look at it.

    Hope this helps!
    Travis

    Thread Starter navyspitfire

    (@navyspitfire)

    Hi Travis, I grabbed this code from a stripe example, and trying using the pmpro_subscription_payment_failed hook. The hook uses a MemberOrder $old_order parameter, which I don’t understand. Is this close to what I need? Or do I need to use that $old_order parameter somehow?

    function my_pmpro_subscription_deleted($user_id)
    {
    	//cancel the membership
    	pmpro_changeMembershipLevel(0, $user_id);
    }
    add_action("pmpro_subscription_payment_failed", "my_pmpro_subscription_deleted");

    Hi @navyspitfire,

    I believe this is the link to GitHub that you can use:
    https://github.com/strangerstudios/pmpro-failed-payment-limit/blob/master/pmpro-failed-payment-limit.php

    But, I need to bring to your attention that it would seem that some users are having a couple of issues with the this code, we are working to debug it. So I would view it for reference for now and install it once all the bugs are worked out.

    Hope this helps!
    Trav

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Payment Failed email’ is closed to new replies.