Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Help With IPN Handling Member Subscription

  1. #1
    Thread Starter
    Senior Member philip937's Avatar
    Join Date
    Dec 2011
    Location
    United Kingdom
    Posts
    198
    Thanks
    2
    Thanked 6 Times in 5 Posts

    Help With IPN Handling Member Subscription

    Hi everyone.

    I have altered my code to do paypal subscriptions for membership packs. however, although when completing the order process activates the pack, sets up the paypal subscription and notifies the customer, when the next payment is taken the membership does not renew.

    I can only assume that the IPN handler code obviously does not know what to do with the response from each payment. I could really really do with getting this to work for my business model.

    I enabled paypal IPN debugging to get an understanding what PayPal is sending though. I am receiving the following:

    -------
    Array
    (
    [transaction_subject] => Membership for 2 days
    [payment_date] => 05:18:27 Nov 06, 2012 PST
    [txn_type] => subscr_payment
    [subscr_id] => I-W5XIE508HY0F
    [last_name] => Bloggs
    [residence_country] => GB
    [item_name] => Membership for 2 days
    [payment_gross] =>
    [mc_currency] => GBP
    [business] => info@themainsite.co.uk
    [payment_type] => instant
    [protection_eligibility] => Ineligible
    [verify_sign] => AzWJqzB39MxDuMJE3UTjnqu10.Z5AagAZTVgTPb-Z8zU-RA9bOSB4vLX
    [payer_status] => verified
    [payer_email] => customer@paypalemail.co.uk
    [txn_id] => 3DX158363E614410K
    [receiver_email] => info@themainsite.co.uk
    [first_name] => Joe
    [payer_id] => E38NAT7Z3K7DS
    [receiver_id] => A6MCAXWNFP772
    [item_number] => Basic
    [payment_status] => Completed
    [payment_fee] =>
    [mc_fee] => 0.23
    [mc_gross] => 1.00
    [custom] => 831238ee21ce5ccd
    [charset] => windows-1252
    [notify_version] => 3.7
    [ipn_track_id] => 26d8609bb431a
    )
    -------
    Its worth noting at this point that when i review transactions in the admin panel, only normal paypal transactions are showing, so the first thing noticed is the transactions are not added to the database.

    From looking at the paypal ipn code, it looks like it uses the current session as it is and gets the users info to marry up the transaction to the user (I think??).

    In order for it to work I assume two things are needed, firstly, transactions need to be captured and added to the transaction table, and secondly, these auto payments need to marry up to the member pack that are associated with in order to run some code to activate and renew them.

    I really really really hope someone can help me with this.

    Many thank in advance and just let me know if you need me to explain anything further.

    Cheers

    Phil

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Senior Member philip937's Avatar
    Join Date
    Dec 2011
    Location
    United Kingdom
    Posts
    198
    Thanks
    2
    Thanked 6 Times in 5 Posts

    Help With IPN Handling Member Subscription

    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Thread Starter
    Senior Member philip937's Avatar
    Join Date
    Dec 2011
    Location
    United Kingdom
    Posts
    198
    Thanks
    2
    Thanked 6 Times in 5 Posts

    Help With IPN Handling Member Subscription

    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    Thread Starter
    Senior Member philip937's Avatar
    Join Date
    Dec 2011
    Location
    United Kingdom
    Posts
    198
    Thanks
    2
    Thanked 6 Times in 5 Posts

    Help With IPN Handling Member Subscription

    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #9
    Thread Starter
    Senior Member philip937's Avatar
    Join Date
    Dec 2011
    Location
    United Kingdom
    Posts
    198
    Thanks
    2
    Thanked 6 Times in 5 Posts

    Help With IPN Handling Member Subscription

    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #10
    Amateur activetenants's Avatar
    Join Date
    Nov 2011
    Location
    United States
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. jobseeker subscription
    By euphern in forum JobRoller General Discussion
    Replies: 2
    Last Post: July 30th, 2012, 09:32 AM
  2. resume subscription
    By hunter in forum Report JobRoller Bugs
    Replies: 1
    Last Post: December 18th, 2011, 06:37 AM
  3. Handling posts in new releases?
    By Almost in forum WordPress General Discussion
    Replies: 1
    Last Post: November 8th, 2010, 07:33 AM
  4. Subscription???
    By pipno in forum ClassiPress General Discussion
    Replies: 1
    Last Post: April 12th, 2010, 01:08 AM