XtremeTech Posted February 23, 2016 Share Posted February 23, 2016 Hello, I am having 1 issue with receiving PayPal payment notification details. Once the customer pays, PayPal sends the customer back to my website and shows the invoice to the customer, as it should, but at the top it shows Unpaid and it shows not transaction details at the bottom of the invoice and it shows no payment in my transaction screen, but there is a title bar across the invoice stating the payment was successful. So how does the invoice show Unpaid, logs no payment in WHMCS, but shows a bar across the invoice saying it was successful? The payment was successful, so why is WHMCS not retrieving the transaction details and showing the invoice as being paid? All my PayPal settings are correct, I even have the API login info there and the redirect back to WHMCS is set. Can any advise on a setting I'm missing possibly? Thank You! Matt 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted February 24, 2016 WHMCS Support Manager Share Posted February 24, 2016 Hi, This behaviour means there was a delay in PayPal sending the IPN sending the transaction details to your WHMCS installation. IPN stands for Instant Payment Notification so PayPal should be sending it instantly, before the client is returned to your install. I suggest speaking with PayPal support so they can investigate why there was a delay in sending the IPN. In the meantime was have internal case MODULE-6076 open with the development team to research what changes can be made in the software to handle such delays in the IPN better. 0 Quote Link to comment Share on other sites More sharing options...
XtremeTech Posted February 25, 2016 Author Share Posted February 25, 2016 Thank you for your reply! This issue has occurred every time a customer makes a purchase through WHMCS, not just once or twice. They can make a purchase through the cart as a new customer, or they can login to the control panel and make an invoice payment and every time the result is the same. I also have a php script, that I created, that will receive PayPal IPN information and save it to a MySQL database and it has worked every time. I'm not trying to say you are incorrect about it being a PayPal issue, just wanted to make sure I gave you all available information on the issue. Thanks again! 0 Quote Link to comment Share on other sites More sharing options...
XtremeTech Posted February 25, 2016 Author Share Posted February 25, 2016 Hello, I just want to add some updated info, as I just tried a couple things with PayPal. I went into PayPal and looked through the IPN log to see what had sent and the response. According to the log, the IPN's were sent and received with a 200 response from WHMCS. Also, I resent one of the IPN's and it never showed up in the transaction log. The callback URL was valid as well. What permissions does the client/modules/gateways/callback/paypal.php need? This is the only issue I could see that might prevent WHMCS from receiving the IPN info. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted February 26, 2016 WHMCS Support Manager Share Posted February 26, 2016 Hi, Please navigate to Billing > Gateway Log. Do you see any record of the payments? If so please copy the debug data and the result into your reply. If there are no entries please double-check the IPN settings in your account are configured per our documentation @ http://docs.whmcs.com/PayPal If that's configured correctly already, in your PayPal account navigate to History > IPN History and click the Message ID link corresponding to a transaction not recorded in WHMCS. Then copy the entire contents of the Message ID page into your reply here. NOTE: Please take care to remove sensitive information from any data posted publicly here. 0 Quote Link to comment Share on other sites More sharing options...
XtremeTech Posted February 28, 2016 Author Share Posted February 28, 2016 Hi John, Out of many transactions, I have only 1 transaction showing in the Debug log. The result was "Invalid Receiver Email". The log is below: handling_amount => 0.00 payer_id => U66PD6LGRXKLW address_country_code => US ipn_track_id => 8c328fec34ea9 address_zip => 34480 shipping => 0.00 charset => UTF-8 payment_gross => 25.00 address_status => confirmed address_street => 4114 se 61st place verify_sign => REMOVED FOR SECURITY item_name => XtremeTech - Invoice #20162027 txn_type => web_accept receiver_id => REMOVED FOR SECURITY payment_fee => 1.03 mc_currency => USD transaction_subject => custom => 20162027 protection_eligibility => Eligible address_country => United States payer_status => unverified first_name => REMOVED FOR SECURITY address_name => REMOVED FOR SECURITY mc_gross => 25.00 payment_date => 07:19:30 Feb 23, 2016 PST payment_status => Completed quantity => 1 business => [email]matt@example.net[/email] item_number => last_name => findley address_state => FL txn_id => 56H82351EV8350607 mc_fee => 1.03 resend => true payment_type => instant notify_version => 3.8 payer_email => REMOVED FOR SECURITY receiver_email => [email]matt@example.net[/email] address_city => Ocala tax => 0.00 residence_country => US The receiver email is my email address and it is valid, so not sure why it says invalid. The IPN log from PayPal is below: Message ID: 12A540965D3258619 Date/time created: 2/23/2016 10:19 EST Original/Resent: Original Latest delivery attempt date/time: 2/23/2016 10:19 EST Notification URL: [url]http://example.net/client/modules/gateways/callback/paypal.php[/url] HTTP response code: 200 Delivery status: Sent No. of retries: 0 Transaction ID: 56H82351EV8350607 IPN type: Transaction made mc_gross=25.00&protection_eligibility=Eligible&address_status=confirmed&payer_id=U66PD6LGRXKLW&tax=0.00&address_street=REMOVED FOR SECURITY&payment_date=07:19:30 Feb 23, 2016 PST&payment_status=Completed&charset=UTF-8&address_zip=34480&first_name=laura&mc_fee=1.03&address_country_code=US&address_name=REMOVED FOR SECURITY¬ify_version=3.8&custom=20162027&payer_status=unverified&business=matt@example.net&address_country=United States&address_city=Ocala&quantity=1&verify_sign=REMOVED FOR SECURITY&payer_email=REMOVED FOR SECURITY&txn_id=56H82351EV8350607&payment_type=instant&last_name=findley&address_state=FL&receiver_email=matt@example.net&payment_fee=1.03&receiver_id=REMOVED FOR SECURITY&txn_type=web_accept&item_name=XtremeTech - Invoice #20162027&mc_currency=USD&item_number=&residence_country=US&handling_amount=0.00&transaction_subject=&payment_gross=25.00&shipping=0.00&ipn_track_id=8c328fec34ea9 If you need anything further, please let me know. I also have other transactions in the IPN History log that never showed up at all in the WHMCS gateway log, but the settings have been the same as above since I setup WHMCS. Thanks for all your assistance! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.