PostFinance blank page after payment

  • Posts: 4
  • Thank you received: 0
9 years 9 months ago #188718

-- url of the page with the problem -- : latabledejacques.ch
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.25
-- Browser(s) name and version -- : Chrome / IE / Firefox
-- Error-message(debug-mod must be tuned on) -- : Hi,

I hope you are fine. Firstly congratulation for hikashop ! I was on virtuemart early and I'm really happy to work with this component. It works better and the code is more clear.

I have just a question, and I have seen that you have helped a member about Postfinance Payment method (the last message on this page : www.hikashop.com/forum/install-update/86...html?start=40#186315 )

I configured my postfinance exactly like you explain (SHA IN - OUT) Server with no response, and response with GET parameter. I have no errors on Postfinance (logs), but when I come back on my website after the payment I have a blank page.

I have checked the controller "checkout" -> function notify, but I see nothing.

Can you help me ?

Here is the website : www.latabledejacques.ch/
Test account : mrenevey
password : test

Visa code test : 4111111111111111 (you can enter the name you want)

Thank you in advance for your help. Have a good day

Mathieu

Last edit: 9 years 9 months ago by mrenevey.

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

  • Posts: 12953
  • Thank you received: 1778
9 years 9 months ago #188727

Hello Mathieu,
As I said through the thread that you checked, I changed these options through his PostFinance account :
- "HTTP redirection in the browser"
- "I would like to receive transaction feedback parameters on the redirection URLs."
you should check it.

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

  • Posts: 4
  • Thank you received: 0
9 years 9 months ago #190342

Hello,

Thank you for your response. I've checked in the configuration, but I'm note sure what I must change.
I send you an image with my actual configuration.

Thank you for your help

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
9 years 9 months ago #190359

Hello,
Firstly can you :
- set the "méthode de la requête" option to POST
- download the last Hikashop version through our website and test it again ?
If it still not working, can you please :
- Check that the debug mode option is ON through your PostFinance payment configuration page
- Test it again
- Show me your Payment log file content.

You'll be able to check your payment log file through "Hikashop->System->Configuration->Main" by using the "See the report" button of your Payment log file option.

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

  • Posts: 4
  • Thank you received: 0
9 years 9 months ago #191258

File Attachment:

File Name: report_391670275.zip
File Size:4 KB

OK thank you for your help.
I've tryed to update hikashop but I can't. When I go to extensions to upload the zip I have an error "-1 copy failed". However that's not the case with another extension. Can I maybe try to overwrite files via FTP or that's not enough ?

I changed the return method to POST, and here is the logfile attached. Maybe you already have some information.

Thank you for your help.
Mathieu


EDIT : OK I've found a link to update hikashop ( www.hikashop.com/support/documentation/5...-to-install.html#ftp ) I will try it quickly

Attachments:
Last edit: 9 years 9 months ago by mrenevey.

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

  • Posts: 4
  • Thank you received: 0
9 years 9 months ago #191265

Ok now I'm with the latest version.
Attached the new log for the payment. Thank you !

File Attachment:

File Name: report_391...2-19.zip
File Size:4 KB

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
9 years 9 months ago #191274

Hello,
If the update didn't solved your issue can you give me a temporary access to your website through a private message so that I can directly test it ?
Thanks.

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

  • Posts: 8
  • Thank you received: 0
9 years 7 months ago #197308

Hello,

did you found a solution ? I've just installed HikaShop with Postfinance payment and I have the same blank page after the payment.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 7 months ago #197372

Hi,

Would it be possible to have more details about your issue ?

Generally a "blank page" means that you have a PHP fatal error (but not every time), so the best for you will be to check your PHP error log or to change the setting "error reporting level" to "maximum" in your Joomla global configuration.
Thanks to that, you can provide us the error message and it will help us to understand what is going wrong.

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.

  • Posts: 8
  • Thank you received: 0
9 years 7 months ago #197425

Hello Jerome,
Thanks for answer,

After setting error reporting level to maximum, I got this error on the log :

2015/04/06 08:27:34 [error] 11868#0: *29507 FastCGI sent in stderr: "PHP message: PHP Strict Standards: Only variables should be assigned by reference in /usr/share/nginx/www/mysite/www.mysite.ch/plugins/hikashoppayment/postfinance/postfinance.php on line 125" while reading response header from upstream, client: 85.12.41.123, server: www.mysite.ch , request: "GET /index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=postfinance&tmpl=component&lang=fr&Itemid=108 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: " www.mysite.ch ", referrer: " e-payment.postfinance.ch/ncol/test/order_Agree.asp "


Kind regards,
Philippe

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 7 months ago #197447

Hi,

The error is a "strict standards" message ; it's not a fatal error which will stop the processing of the page.

Like Mohamed wrote in a previous message ; Please activate the debug mode in your plugin ; thanks to that you will have some debug traces written in your HikaShop payment log.
With that log, you will have more details about what is going wrong during the payment notification (like a wrong signature, an order which does not exists...)

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.

  • Posts: 8
  • Thank you received: 0
9 years 7 months ago #197550

Hello,
The debug is on, I see this line on the logfile :

<b>Strict Standards</b>:  Only variables should be assigned by reference in <b>/usr/share/nginx/www/mysite/www.mysite.ch/plugins/hikashoppayment/postfinance/postfinance.php</b> on line <b>125</b><br />

Kind regards,
Philippe

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

  • Posts: 12953
  • Thank you received: 1778
9 years 7 months ago #197556

Hello Philippe,
As Jerome said :

The error is a "strict standards" message ; it's not a fatal error which will stop the processing of the page.

Can you give me a temporary back-end access so that I can globally check it for you ?
Thanks.

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

  • Posts: 8
  • Thank you received: 0
9 years 7 months ago #197677

Yes I can.
Do you need only a Joomla account ?

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

  • Posts: 12953
  • Thank you received: 1778
9 years 7 months ago #197719

I just need a temporary administrator account :).

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

  • Posts: 8
  • Thank you received: 0
9 years 7 months ago #197848

I've created an account for you. I'll send you the information on private message

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

  • Posts: 12953
  • Thank you received: 1778
9 years 7 months ago #198015

Thanks, Can you also give me a Temporary access to your PostFinance configuration space ?

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

  • Posts: 8
  • Thank you received: 0
9 years 7 months ago #198061

You can log with "tempaccount" with the same password.
( e-payment.postfinance.ch/Ncol/Test/BackOffice/login?Mode=User )

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

  • Posts: 12953
  • Thank you received: 1778
9 years 7 months ago #198073

With the PostFinance account that you gave me I can't edit your PostFinance configuration, but can you check the "I would like to receive transaction feedback parameters on the redirection URLs." option of the "Transaction feedback" tab of your PostFinance configuration and test it again ?
If you still have that issue can you give me a better access to your PostFinance configuration space ?
Thanks.

The following user(s) said Thank You: BObo

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

  • Posts: 8
  • Thank you received: 0
9 years 7 months ago #198231

Many thanks Mohamed, it works now !

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

Time to create page: 0.088 seconds
Powered by Kunena Forum