Simple Membership Plugin › Forums › Simple Membership Plugin › IPN question
Tagged: IPN failed payments
- This topic has 11 replies, 3 voices, and was last updated 10 years, 3 months ago by
admin.
-
AuthorPosts
-
March 13, 2016 at 11:17 pm #5854
HMBR
ParticipantDoes the IPN sends information to the plugin regarding payments that have failed? What happends to that members that failed payemnts? Does his account changes status automatically? Can he see the restricted content? Thanks
March 14, 2016 at 10:30 am #5859mbrsolution
ModeratorHi in regards to your question, please check the following IPN documentation.
In regards to the following questions.
Does his account changes status automatically? Can he see the restricted content?
Can you clarify the first question further? In regards to your second question, no the member cannot view protected content unless they are subscribed to the membership level that is needed to view the content.
Thank you
March 14, 2016 at 10:36 am #5861HMBR
ParticipantWhen a subscribed user fails the recurring payment, can he still see protected content? Thanks
March 14, 2016 at 8:29 pm #5862HMBR
ParticipantHi, still appreciate the answer.
Thanks in advance.March 15, 2016 at 5:55 am #5865mbrsolution
ModeratorHi, no the subscriber should not see the protected content. Have you had this experience or are you simply inquiring?
March 15, 2016 at 7:34 am #5869HMBR
ParticipantI’m going to test. Does the teak $member_level = SwpmMemberUtils::get_logged_in_members_level(); works the same manner, restricting when payment fails? Or should i use other teak to achieve this? Thanks
March 15, 2016 at 7:47 am #5870mbrsolution
ModeratorHi, I have not tested that scenario using the PHP tweak above. If you are going to carry out a test can you report back with your findings.
Thank you
August 5, 2016 at 11:18 pm #7731HMBR
ParticipantWhen the customer cancels the payment the account becomes inactive. In the plugin documentation there is no php teak for account status. Is there any php tweak to get account status? Thanks
August 6, 2016 at 5:44 am #7733mbrsolution
ModeratorIf you check your members under Members tab it will let you now what is their current status. Is this what you mean?
August 6, 2016 at 6:39 am #7735HMBR
ParticipantNo. I need the php code like this one:
$member_id = SwpmMemberUtils::get_logged_in_members_id();
But instead of members_id() I need members_account_status_or_something .
ThanksAugust 6, 2016 at 6:45 am #7736mbrsolution
ModeratorYes I understand what you need. I have sent a message to the developers.
Kind regards
August 6, 2016 at 5:06 pm #7738admin
KeymasterIf a user cancels the payment or if their subscription fails, the plugin will automatically deactivate their account.
There is a function that you can use to retrieve the FULL member’s profile. Then you can get any details from that user object.
Read the “Retrieve a member’s record” section from the following documentation for an example:
https://simple-membership-plugin.com/simple-membership-miscellaneous-php-tweaks/ -
AuthorPosts
- You must be logged in to reply to this topic.