Hello,
How can i add some bank return parameters to logs?
Orders (status change)
Order: # 2
Status: Incomplete → Declined
This is not enough. I need to log error message from payment proccessors.
Thanks.
Have you got http/https requests turned on in the logging?
You should see the request and reply within administration:logs then.
[quote name='NairdaCart' timestamp='1391265563' post='176565']
Have you got http/https requests turned on in the logging?
You should see the request and reply within administration:logs then.
[/quote]
yes answers sent with post to proccessor(?dispatch=payment_notification.proccess&payment=XXX&order_id=nX) but there is no log for that. I checked it from settings/logging requests are active.
Edit : But i am using that post variables by curl and real answer return with curl post. If it possible i want to log that curl post request's answer.
Might not be connected but I've had an issue with the tygh Http class since version 4 came out.
It uses a preg_split with /\R\R to parse the reply but on each installation I have that feature does not work and I have to replace it with /\r\n\r\n to get the reply from the request correctly parsed.
All I could see with the logs until I fixed that was the request. I could never see the reply.
That bank returns are okey but i want to add some spesific logs.
And idea anyone ?