PayPal_r not completing payment notification

Discussion in 'Payments processing' started by onlinemlm, Nov 17, 2005.

  1. onlinemlm

    onlinemlm New Member

    Joined:
    Nov 17, 2005
    Messages:
    6
    For the benefit of others I'll post this. The issue has been solved. :)

    PayPal was not bouncing back a notification to Amember that the payment was made.

    PayPal_R plugin is installed and active.
    The primary paypal email address is the Primary address for the
    account. The account is a verified Business account.
    The URL I used for instant payment notification is :

    http://www.mysite.com/member/plugins/payment/paypal_r/ipn.php


    {The documentation doesn't use paypal_r for the path but has paypal/ ,
    I assume the docs are not updated for this version }

    The ipn.php file has 655 permissions.

    DEBUG INFO: payment system actions product_id 6
    paysys_id paypal_r
    action renew
    --
    Try to load ipn url above.
    Here is error that you will see:
    Warning: fsockopen(): php_network_getaddresses: gethostbyname
    failed
    in /usr/home/sites/www.onlinemlm.com/web/member/plugins/paymen
    t/paypal_r/paypal_r.inc.php on line 240

    Warning: fsockopen(): unable to connect to
    http://www.paypal.com:80
    in /usr/home/sites/www.mysite.com/web/member/plugins/paymen
    t/paypal_r/paypal_r.inc.php on line 240
    This means that possible there is a problem with DNS or firewall on this
    host.

    --
    Hello.

    I logged into your server to replicate the issue and indeed was not
    capable of resolving names. I added a /etc/resolv.conf file with the
    IP of our nameserver and it appears to have resolved the issue.

    Thank you,

    --
    Jay Gordon
    Unix Systems Administrator
    DataPipe Support Team

    Note: It didn't work after he did that to the server until after I restarted the web service.
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    In short: PHP script was unable to access an external URL to get PayPal confirmation of the payment. It happened due to server configuration error.

Share This Page