Paypal payments not activating

Discussion in 'Payments processing' started by iantresman3, Mar 1, 2011.

  1. iantresman3

    iantresman3 New Member

    Joined:
    Jan 30, 2011
    Messages:
    7
    Since the middle of February, I find that customers paying by Paypal, their accounts are not showing as paid, and are unable to log-in. I receive a their Paypal payment confirmation. I don't know whether it is related, but the Error/Debug Log shows:

    <b>WARNING:</b> Invalid argument supplied for foreach() in line 55 of file /home/752/public_html/amember/plugins/payment/paypal/ipn.php

    I'm running: aMember 3.1.4PRO, PHP 5.2.17, OS Linux, MySQL 5.0.77.

    Is this a known issue, and can I fix it myself?
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Can you attach your ipn.php ? Or contact us in helpdesk and provide access info.
  3. iantresman3

    iantresman3 New Member

    Joined:
    Jan 30, 2011
    Messages:
    7
    File attached
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    First as I can see ipn.php file you have is from very old version: 2.2.0
    Try to upgrade it, or replace this line in file:
    PHP:
    $vars $paypal_debug $HTTP_GET_VARS $HTTP_POST_VARS;
    to
    PHP:
    $vars $paypal_debug $_GET $_POST;
    Let me know if this will not help.
  5. iantresman3

    iantresman3 New Member

    Joined:
    Jan 30, 2011
    Messages:
    7
    Thanks for that, but odd, because I am running aMember 3.1.4PRO, but my \plugins\payment\paypal IPN.PHP file looks like the one from my previous version, 2.2.0PRO. Other plug-ins seem to show v3.1.4PRO.

    Should I be using the \plugins\payment\paypal_pro plug-in? Or did I miss out on the Paypal plug-in upgrade?
  6. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    It seems upgrade was done incorrectly.
    You can contact us in helpdesk and we will send paypal files from 3.1.4

Share This Page