Configuring PAyPal IPN

Discussion in 'Payments processing' started by dcjones, Jan 28, 2005.

  1. dcjones

    dcjones Guest

    Hi

    I have submitted this using the trouble ticket system as well as here. I do need to fix this ASAP.

    This is a two fold question.

    I. I am trying to set up the Paypal plug-in for IPN

    In the plug-in config feilds I have the following:

    Merchant ID = registration@e-finity.co.uk
    Alternate PayPal Account = blank
    Sandbox testing = blank
    Payment system title = PayPal
    Postback message logging = Log postback Messages

    In my PayPal account I have the following set

    Instant Payment Notification (IPN) On
    Instant Payment Notification (IPN) URL: http://www.e-finity.co.uk/amember/plugins/payment/paypal/ipn.php

    Taking the above to be correct I then try and register as a user on my site. I complete the required details and click on the submit button which display that an email has been sent to the address given.

    The email arrives so I click on the link which redirects me to PayPal for payment.

    I go with the payemnt process, all is accepted and PayPal says "Thank you". I click on the link button which takes me to my sites login page. I can login but PayPal has not confirmed my payment back to my server. I know PayPal can be slow so I left it for 4 hours think by then payPal and my server would have spoken. But it is not to be.

    This there something I am missing.

    2. If I configure aMember so that I do not have to use e-mail verification and submit details for a new user, the script trys to redirect me to Paypal but fails to find the site.

    Alex and friends, can you please advise.

    Kind regards, keep safe and well

    Dereck
  2. gigaenvy

    gigaenvy New Member

    Joined:
    Oct 19, 2004
    Messages:
    33
    I would wait for a solid answer from Alex, but I had problems today on several new subscription getting the call back from Paypal to complete payment. This is hard to troubleshoot so we manually confirmed payment with the new subscriber.

    In most cases I see instant payment and emails with no interaction on my part, but sometimes there's a hiccup somewhere and IPN fails.

    GigaEnvy
  3. LoneWolf

    LoneWolf Guest

    Not that it helps but I'm in the same boat. I've checked the IPN address and setups numerous times for my site and Paypal account. I've got to be missing something. Subscribers pending accounts are created, PayPal payment is made, but PayPal cannot or does not modify my aMember backend from a pending account to a paid.

    Paypal claims the IPN system automatically retries every 20 seconds or so for up to 4 days, but I've yet to have it work.

    If you could post a solution here in the forums it would be very helpful.
    Thanks
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Most common reason for PayPal problems is that email address entered at aMember Cp -> Setup -> PayPal doesn't match your PRIMARY EMAIL ADDRESS IN PAYPAL. Check this, copy&paste.

    A little secret - it doesn't make sense which URL you have entered into PayPal IPN settings. aMember will send correct URL to PayPal with each payment request and default URL entered in settings will be anyway ignored.

    If PayPal payments are not automatically marked as paid in your aMember installation, you should visit aMember CP -> Error Log and check for error messages. There should be specific messages about PayPal IPN, so if PayPal server contacted aMember with IPN post, you will see it for sure. If there was any problems, you will also see it, just read messages carefully.

    Also, it happened that PayPal delayed IPN notifications for several hours. But it happens very, very seldom.

    We don't offer personal support via forum. If you wish CGI-Central staff to have look to your issue, send your aMember CP login info and URL to support helpdesk.
  5. dcjones

    dcjones Guest

    Hi All and a big thank you to Alex.

    I now have a working system, the IPN is working OK so I can only think it is what Alex has staed above.

    Another point to remember is when you upload, upload ALL files as binary.

    Thanks for all your input,

    Kind regards, keep safe and well.


    Dereck
  6. gantocks

    gantocks New Member

    Joined:
    Feb 2, 2005
    Messages:
    22
    When I try to setup Paypal after following the instructions in the manual

    Check the box and enter the URL to the file ipn.php in your installation: http://www.yoursite.com/amember/plugins/payment/paypal/ipn.php

    I keep getting this message

    We were unable to validate the URL you have entered. Please check your entry and try again.


    The requested http://www.xxxxxxx.com/amember/plugins/payment/paypal/ipn.php was not found on this server.

    The file that I have on my server is

    http://www.xxxxxxxx.com/amember/plugins/payment/paypal_r/ipn.php

    How do you fix this?

    Cheers
  7. tomarriola

    tomarriola Member

    Joined:
    Mar 29, 2003
    Messages:
    140
    Gantocks, if you're using a recent version of amember, which only has paypal ipn, try
    /plugins/payment/paypal_r/ipnr.php

    I think Alex's directions may need an update on the plugins help page at
    http://www.cgi-central.net/scripts/amember/docs/html/index.html?paypal.htm
    They reflect an earlier version of paypal setup.

    Tom

    PS, if you need help with amember you should contact support instead of taking advice from goofballs like myself.
  8. gantocks

    gantocks New Member

    Joined:
    Feb 2, 2005
    Messages:
    22
    Cheers tomarriola

    Your advice was the same as Alex's and it did the trick


    "If all else fails - Read the Instructions"
  9. Frustrated

    Frustrated Guest

    I still can't get it to work

    Hi

    Well I'm using a demo to test the software so I don't think I qualify for support through the trouble tickets system. But anyway I've done everythng and still can't get paypal ipn to work :mad:

    Yes my email address is exactly the same as for my paypal biz account
    Yes the URL to the ipnr.php page is correct
    Yes I uploaded my files in binary format
    No there are not any error logs at all.... :confused:

    Any other ideas?
  10. gantocks

    gantocks New Member

    Joined:
    Feb 2, 2005
    Messages:
    22
  11. LoneWolf

    LoneWolf Guest

    Not sure if this will help you or not but it took me forever to get the PayPal ipn working correctly. Went through the usual stuff - checking to make sure everything was according to instructions - nothing would work. The final solution was pretty easy. Make sure the urls are correct in your aMember setup page but on your paypal account all you have to do is turn on the IPN feature. DO NOT ENTER A URL ADDRESSS on paypal ipn page. Apparently aMember sends the information automatically when a subscription is made. Try it. It solved all my problems and the system now works perfectly.
    Good Luck

    P.S. I know the manual says you should enter the url as stated above but that didn't work. Go figure!
  12. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    "Frustrated", please contact us via helpdesk with aMember CP login info and URL. I hope someday you decide to change nickname to "Satisfied".

Share This Page