Completed PayPal Payments not being received

  • Posts: 13
  • Thank you received: 0
11 years 2 months ago #124798

-- url of the page with the problem -- : www.justyna.buchanconsulting.com/
-- HikaShop version -- : 2.2.1
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3.16
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- :

I have two websites with this issue:
Site 1: Live site with Live PayPal.
Site 2: Test Site with PayPal Sandbox

I'll discuss the test site.

My end goal is setting up an Akeeba Subscription sales site.
Site has 2 payment methods setup, the Recurring Subscriptions PayPal Plugin and standard PayPal Plugin.
I have turned on IPN Notifications in PayPal Sandbox.
I have entered sandbox URL in the Recurring Subs Payment Plugin
I have entered my Sandbox Vendor email in both payment plugins
I have made my log file directory and file writeable (777)
I see payments being received in my Sandbox account
Orders on the website remain "Created" and not "Confirmed"

Last edit: 11 years 2 months ago by dougbuchan.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 2 months ago #124800

Additional images of settings

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #124832

Hi,

Thanks to check the log file in Configuration > Main > Files, "see the report" button.
And see what is the error message returned.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 2 months ago #124907

Log file is empty. It did not create itself (was it supposed to?) so I created it. The file has 777 permissions. I entered "Test" in the log file and that is viewable in the Configuration. No other data is being written to the file after a paypal transaction. I understand this means that PayPal is not sending messages (IPN) to the site. Now the question is Why?

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 2 months ago #124958

Updates on this guys? Time sensitive. Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 2 months ago #124964

The notification URL is wrong on your PayPal account. You entered the URL of your website, but you actually need to enter the payment notification URL of the PayPal plugin instead. It should be something like that:

http://yourwebsite.com/index.php?option=com_hikashop&ctrl=checkout&task=notify&notif_payment=paypal&tmpl=component&lang=en

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 2 months ago #124985

Still not working using:
www.justyna.mysite.com/index.php?option=...pl=component&lang=en

Log file remains empty as well.

See attached.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 2 months ago #124990

So what does your PayPal account IPN history page says about the payment notifications ? Was it able to send them to the correct URL on your website ? Did it get some error ? Or no IPN were sent ?

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 2 months ago #124992

Status is "retrying"

See code:
mc_gross=55.00&invoice=15&protection_eligibility=Eligible&address_status=confirmed&item_number1=Weekly_Personal_Shopper&payer_id=TH2ZF797UETLQ&tax=0.00&address_street=CHANGEDFORPRIVACY&payment_date=17:28:50 Sep 24, 2013 PDT&payment_status=Completed&charset=windows-1252&address_zip=CHANGEDFORPRIVACY&mc_shipping=0.00&mc_handling=0.00&first_name=Vtwsam&mc_fee=1.90&address_country_code=US&address_name=Doug CHANGEDFORPRIVACY¬ify_version=3.7&custom=&payer_status=verified&business=doug+justyna@CHANGEDFORPRIVACY.com&address_country=United States&num_cart_items=1&mc_handling1=0.00&address_city=CHANGEDFORPRIVACY&verify_sign=AiPC9BjkCyDFQXbSkoZcgqH3hpacAoouRRxyiRKTom5Q1Fz8exfGany6&payer_email=doug+buyer@CHANGEDFORPRIVACY.com&mc_shipping1=0.00&tax1=0.00&txn_id=8DF446685G9485107&payment_type=instant&last_name=CHANGEDFORPRIVACY&address_state=IL&item_name1=Weekly Personal Shopper&receiver_email=doug+justyna@CHANGEDFORPRIVACY.com&payment_fee=1.90&quantity1=1&receiver_id=NVWQ28JBVSE9J&txn_type=cart&mc_gross_1=55.00&mc_currency=USD&residence_country=US&test_ipn=1&transaction_subject=&payment_gross=55.00&ipn_track_id=c51bbd1f237d

See attached

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 2 months ago #124994

As I sit here working on something unrelated, I get a couple of emails saying my payment was successful. Somehow a random, old, payment went through. I have not touched or done anything. See attached images for updated logs. Again, no changes made on my end.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 2 months ago #125197

Hi,

The problem seems to be related on the plugin "userpoints", thanks to try to disable it and make a new transaction.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 2 months ago #125273

Plugin disabled.

Still not receiving immediate IPNs. More and more of my test transactions are being marked as Confirmed every couple of hours.

So it's still not working and it's still showing errors in the log file.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #125415

Hi,

Because you see a message in the log file (which is a warning fixed in HikaShop 2.2.2) it means that Paypal call your website.
The warning is not a real problem because it does not stop the process of the order modification.
If you see the warning in the log file, it means that the process worked that's why HikaShop write the content in the log file, otherwise the process should be stopped and the log file will stay empty.

My "problem" is that, the IPN return is made by the plugin before the process of the message. It means that the IPN validation works if you have "confirmed" in one side and "sent" on the other hand.

But for me, the warning message is not a sign of real problem because if you see it, it means that the order has been modified (so I guess, confirmed).

Edit
Some ideas:
* Test the IPN url directly in a browser (with cookie cleaned) in order to see if there is any kind of redirection. - Looks good
I will continue to make some tests and investigate.
The fact is, if the process suddenly "work" it make the feeling that it could be something link with the firewall, a wrong notify url (if you access the website using a url which does not really exists, the plugin will use this url for asking the IPN callback), or a list of IPN in the plugin (but you will receive an email to notify you).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 11 years 1 month ago by Jerome.

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0
11 years 1 month ago #125738

Ok, so ignoring the warning in the log file, what else do I need to try?

The payments seem to be eventually coming through, hours later. The initial IPN seems to be missing, and then hours later, the retry seems to work.

No firewalls are installed.

Ideas?
Keep in mind also, on my live site, no IPN is being received at all although PayPal shows it sent.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #125885

Hi,

If new orders give the same problem. I think that the notification URL send by the plugin the first time can be wrong.
So for the retry, it uses the IPN you have configured in the website and it works.

Can you check into the IPN log before the retry ? Maybe we will find some useful information.
Because you don't have HTTPS so the notification url generated by the plugin should be the exact same than in your paypal IPN configuration (same domain name, same parameters, etc).

Regards


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum