Forum Replies Created
-
AuthorPosts
-
HMBR
ParticipantYes. If you say that a expired member can’t see protected content, how can he sees the buttons on a protected page ? My solution was to show the link to that page to logged on only users. It seems something is missing ! Thanks
HMBR
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 .
ThanksHMBR
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
HMBR
ParticipantHi, I cannot explain this. In the PayPal account this recurring payment is suspended. And in the same log above the code gives at the same time a suspended information. So I can’t explain why the the success information. Anyway the 3 attempts made is one the same day of the payment or in different days ?
Thank youHMBR
ParticipantThis is he log file:
[08/04/2016 4:30 PM] – SUCCESS : Log file reset
——————————————————————[08/04/2016 4:33 PM] – SUCCESS :Paypal Class Initiated by 173.0.81.1
[08/04/2016 4:33 PM] – SUCCESS :Post string : amount=5.00&initial_payment_amount=0.00&profile_status=Suspended&payer_id=F3Q82MA2YHHAG&product_type=1&ipn_track_id=2fb30c87aaf85&outstanding_balance=5.00&shipping=0.00&charset=windows-1252&period_type=+Regular¤cy_code=USD&verify_sign=An5ns1Kso7MWUdW4ErQKJJJ4qi4-AnHVmi1bLpNZyiv7hMfBIQDJuEV9&payment_cycle=Daily&txn_type=recurring_payment_suspended_due_to_max_failed_payment&custom=subsc_ref%3D3%26user_ip%3D62.169.86.133&payer_status=unverified&first_name=Tim&product_name=Store&amount_per_cycle=5.00&last_name=Wood&payer_business_name=Mapalloo&time_created=05%3A09%3A14+Aug+02%2C+2016+PDT&resend=true¬ify_version=3.8&recurring_payment_id=I-SEHGTF62BJYS&payer_email=paypal%40mapalloo.com&receiver_email=info%40mapalloo.com&next_payment_date=N%2FA&tax=0.00&residence_country=PT&
[08/04/2016 4:33 PM] – SUCCESS :Checking if PayPal IPN response is valid
[08/04/2016 4:33 PM] – SUCCESS :Connecting to: https://www.paypal.com/cgi-bin/webscr
[08/04/2016 4:33 PM] – SUCCESS :IPN successfully verified.
[08/04/2016 4:33 PM] – SUCCESS :Creating product Information to send.
[08/04/2016 4:33 PM] – SUCCESS :Transaction Type: Buy Now/Subscribe
[08/04/2016 4:33 PM] – SUCCESS :Item Number:
[08/04/2016 4:33 PM] – SUCCESS :Item Name:
[08/04/2016 4:33 PM] – SUCCESS :Item Quantity: 1
[08/04/2016 4:33 PM] – SUCCESS :Item Total:
[08/04/2016 4:33 PM] – SUCCESS :Item Currency:
[08/04/2016 4:33 PM] – SUCCESS :Membership payment paid for membership level ID: 3
[08/04/2016 4:33 PM] – SUCCESS :Saving transaction data to the database table.
[08/04/2016 4:33 PM] – SUCCESS :Transaction data saved.
[08/04/2016 4:33 PM] – SUCCESS :Paypal class finished.——————————————————————
[08/04/2016 4:43 PM] – SUCCESS :After login redirection addon. Checking if member need to be redirected.
HMBR
ParticipantThe IPN sent a cancelled/suspended payment (as in the log), but the user account is still active!
HMBR
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
HMBR
ParticipantHi, still appreciate the answer.
Thanks in advance.HMBR
ParticipantWhen a subscribed user fails the recurring payment, can he still see protected content? Thanks
-
AuthorPosts