Paypal & Amember No Longer Communicating, Error Log

Discussion in 'Payments processing' started by grayinternet, Jul 8, 2013.

  1. grayinternet

    grayinternet New Member

    Joined:
    May 27, 2008
    Messages:
    29
    Beginning today, Monday, July 8, 2013 Paypal and Amember stopped communicating. The payments were processed through Paypal but it gave Amember the following error log:

    paypal_r ERROR: IPN validation error: Paypal claims it is not-valid IPN transaction: [8 ]

    This is for not only re-bills but for new subscription payments as well. Nothing has changed on our end. I have verified that my IPN URL in Paypal matches what is communicating to Amember.

    I can confirm the patch for the February 2013 Paypal change was made. I'm running

    3.2.3PRO.


    Any ideas as to what could be going on?
  2. grayinternet

    grayinternet New Member

    Joined:
    May 27, 2008
    Messages:
    29
    We have fixed this. By going to this plugins/payment/paypal_r/paypal_r.inc.php and doing this:

    We changed this:
    PHP:
    if ($ret != 'VERIFIED')
    return sprintf(_PLUG_PAY_PAYPALR_ERROR2, $ret);
    To this:
    PHP:
    $rr = explode("\r\n\r\n", $res);
    if(!preg_match('/\bVERIFIED\b/', $rr[1]))
    return sprintf(_PLUG_PAY_PAYPALR_ERROR2, $ret);

Share This Page