Created not changing to Complete with Paypal

  • Posts: 21
  • Thank you received: 0
11 years 6 months ago #120687

-- url of the page with the problem -- : www.fayretimesfestival.co.uk/
-- HikaShop version -- : (was 2.2.0 now 2.2.1)
-- Joomla version -- : 2.5.14

Using Hikaserial.

Before I got Hikaserial working I could do test free payments, which would change from Created to Confirmed just fine, and I could also do Paypal payments okay too. (I've had people purchase and complete automatically as the shop is live).

Now something must have changed. It won't be to do with HikaSerial as none of its settings directly affect the cart process or paypal, but I've obviously changed or done something to break the system and I can't work out what.

I recently added a "Thank You" page at www.fayretimesfestival.co.uk/thank-you-for-payment.html and told Paypal to redirect back to this.

In Paypal I set it up so that it has the following:
"Website preferences --> Auto Return" = ON (Return URL set to the one above)
"Website preferences --> Payment Data Transfer" = ON (no idea what to do with the identity token though??
"Website preferences --> Encrypted Payments" = OFF
"Instant Payment Notification" (IPN) is ON and the URL set to www.fayretimesfestival.co.uk/shop-home.html

If you go to www.fayretimesfestival.co.uk/shop-home/c...ory-advertising.html
I have a 1pence item with 1pence Paypal charge set up so I can run tests using minimal costs (I will refund any payments you do using this).

Also, if you wish to have a log in account I have one ready just let me know who to PM with the details.

I have, btw, followed the list of things to check with regards getting payments completed...the only thing I havn't been able to do is check a log file - I't may well be that paypal is somehow blocked from sending the message...but it worked before so I can't see why it wouldn't work now!????

Please help :) Currently having to manually Complete and send tickets! Thanks.
Sam

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

  • Posts: 83346
  • Thank you received: 13482
  • MODERATOR
11 years 6 months ago #120702

Hi,

The IPN URL is wrong. It should be:

http://www.fayretimesfestival.co.uk/index.php?option=com_hikashop&ctrl=checkout&task=notify&notif_payment=paypal&tmpl=component

The following user(s) said Thank You: Bifford

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

  • Posts: 21
  • Thank you received: 0
11 years 6 months ago #120715

Thank you, I think that did the trick - I've just had a customer purchase and it seems to have worked fine :)

On a few other notes - I keep getting "Undefined" errors with those text tickets and nothing gets added to the cart.

Also, I have three versions of the paypal payment method set up - Paypal (for public tickets) £1 fee ; Paypal trader ; £3.60 fee Paypal ADMIN £0.01 fee.
However the Orders page only ever shows one of these for ALL orders (currently Paypal ADMIN) even though it correctly applies the appropriate fee as it should. I think your orders page table may be calling the incorrect variable for that part of the list!

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

  • Posts: 83346
  • Thank you received: 13482
  • MODERATOR
11 years 6 months ago #120734

On which notes ? Can you give a link to one with the issue ?

Could you do a screenshot of the page with the issue with the payment method display ?

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

  • Posts: 58
  • Thank you received: 2
11 years 6 months ago #120765

Hi Nicolas,
Having the same problem with PayPal. Payments are confirmed by PayPal website, but orders do not change the status to confirmed.
Along with this, the PayPal IP refresh is getting nothing from the refresh.
I'm on version 2.2.1.
Any settings that need to be changed or added to the normal PayPal payment?
Thanks

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

  • Posts: 2334
  • Thank you received: 403
11 years 6 months ago #120803

Hi there,

You should take a look at this and come if you didn't solved your problem ;)
www.hikashop.com/support/2013-08-08-00-1...nt-paypal-error.html

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

  • Posts: 58
  • Thank you received: 2
11 years 6 months ago #120823

Hi Eliot,

This looks like a version specific issue. In one of the test sites, that was running Hikashop 2.1.0, I was able to refresh the IPs without any problem. Just now, upgraded to version Hikashop 2.2.1 and I'm no longer able to get the IPs when hitting the refresh. So, in 2.2.1, if removing the IPs and then trying to refresh, nothing is loaded in the field.

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

  • Posts: 83346
  • Thank you received: 13482
  • MODERATOR
11 years 6 months ago #120877

Hi,

There is no need to fill that IP field. Please leave it empty.
If orders are not confirmed automatically, please check that FAQ:
www.hikashop.com/support/documentation/i...or.html#notification

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

  • Posts: 58
  • Thank you received: 2
11 years 6 months ago #120878

I've checked the faqs, all the settings are ok (in fact they weren't changed at all), and gone into PayPal and checked all the parameters. Just got another order and not confirmed automatically. PayPal delivery status failed and no log entries in the system.

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

  • Posts: 83346
  • Thank you received: 13482
  • MODERATOR
11 years 6 months ago #120901

Did you turn on the debug mode of the plugin ? You will need to have that option turned on in order to get anything in the payment log, as explained in that FAQ.
If you don't get anything in the log even though that option is turned on, it means that the payment notification is not received by HikaShop (probably blocked by something before reaching HikaShop) or that HikaShop doesn't have the permissions to write in that file (you can check that this payment log file is writable (permission 777) via FTP.

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

  • Posts: 58
  • Thank you received: 2
11 years 6 months ago #120905

It has always been on. I've checked the permissions of the log file and they were set as 644.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #120985

Hi,

Thanks to set the permission to 777, and make a new paypal payment.
This will add informations in the payment log file, with these informations we will be able to debug the problem.

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

  • Posts: 58
  • Thank you received: 2
11 years 6 months ago #120998

Hi Xavier and thanks.
I have the log of the latest transaction and should I sent you in private message?

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

  • Posts: 2334
  • Thank you received: 403
11 years 6 months ago #121026

Yes you can do this :)

The following user(s) said Thank You: mcruip

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

  • Posts: 58
  • Thank you received: 2
11 years 6 months ago #121032

Thanks and sent

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

  • Posts: 83346
  • Thank you received: 13482
  • MODERATOR
11 years 6 months ago #121265

Great !

So with the log was we can say is that the payment notification is received but all the parameters that are expected are missing from the request. And because of that, the notification is refused.
What that means is that there is something before which redirect the request for some reason on your website without including all the POST parameters sent by PayPal and thus the parameters are missing when the plugin wants to use them.
Please look in your apache access log for requests
on
Part of the message is hidden for the guests. Please log in or register to see it.

You should find one line of your log with a redirect status (300). If you could copy/paste the line(s) of the logs with that URL to us so that we can see what kind of redirect is done, we might be able to tell you more on what could be doing that redirect.

The following user(s) said Thank You: mcruip

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

  • Posts: 58
  • Thank you received: 2
11 years 6 months ago #121285

Hi Nicolas,
Since your reply I've been checking all the server logs (access and error) and at the same time resending some IPNs from PayPal. The result is really the 300 code as follows:

[Fri Aug 30 16:42:03 2013] [error] [client 80.172.234.25] File does not exist: /home/mariopro/jproextensions.com/404.shtml
[Fri Aug 30 16:42:03 2013] [error] [client 80.172.234.25] File does not exist: /home/mariopro/jproextensions.com/null

The PayPal IPNs, after the resend try, are all getting back as Failed.

Quite weird because I don't have a clue who the heck is calling tis 404.shtml and why, since the Hikashop confirmation link seems to be the correct as per instructions.

Last edit: 11 years 6 months ago by mcruip.

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

  • Posts: 58
  • Thank you received: 2
11 years 6 months ago #121293

Just followed the link you posted above and the apache access log shows:

85.241.197.65 - - [30/Aug/2013:17:51:25 +0100] "GET /index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=paypal&tmpl=component&lang=en&invoice=261 HTTP/1.1" 200 2691 " www.hikashop.com/forum/checkout/861464-c...ete-with-paypal.html " "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36"

An now, I'm just receiving an email from my Hikashop:
Hello,
A paypal notification was refused because it could not be verified by the paypal server
Check the documentation concerning this issue at (...)

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

  • Posts: 83346
  • Thank you received: 13482
  • MODERATOR
11 years 5 months ago #121374

Yes, it's normal that you get an email with the notification is received (when you click on the link). And it's normal that it is refused in that case since there is no data information from paypal added to the request when you click on the link.

What I would like to get actually is the other lines of that access log where that URL is referenced, not the one which was logged when you clicked on it but the lines which were logged when paypal triggered that URL.

You can potentially try with another order and look for the same URL but with the new order_id replacing 261 in the invoice parameter of the URL.

The following user(s) said Thank You: mcruip

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

  • Posts: 58
  • Thank you received: 2
11 years 5 months ago #121381

Hi Nicolas,
I did and get no error log entries and in the access log, what I get is the following (changed the domain here...):

85.241.197.65 - - [31/Aug/2013:16:23:59 +0100] "POST /administrator/index.php?option=com_hikashop&ctrl=order HTTP/1.1" 200 87570 " www.mysite.com/administrator/index.php?o...ale&filter_partner=0 " "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36"
85.241.197.65 - - [31/Aug/2013:16:24:05 +0100] "GET /administrator/index.php?option=com_hikashop&ctrl=order&task=edit&cid[]=233&cancel_redirect=L2FkbWluaXN0cmF0b3IvaW5kZXgucGhwP29wdGlvbj1jb21faGlrYXNob3AmYW1wO2N0cmw9b3JkZXI%3D HTTP/1.1" 200 66509 " www.mysite.com/administrator/index.php?o..._hikashop&ctrl=order " "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36"

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

Time to create page: 0.115 seconds
Powered by Kunena Forum