Sofort ERROR plgVmOnPaymentNotification: no transaction ID

Started by ksfbjoern, January 12, 2015, 13:02:57 PM

Previous topic - Next topic

ksfbjoern

Hello,

i got a problem with the payment method sofort. The order-process works. The payment redirection works, the Thank You Page is shown,
but there is no confirmation mail sent, instead an email is sent to the administrator with the following content:

Hallo,

Ein Fehler mit Ihrer Zahlungsart sofort in Ihrem Shop xxxxxxxxxxxxx. Die Details sind in der Datei sofort.18.log.php aufgezeichnet. Das VirtueMart Team

Error log:

#
#<?php die("Forbidden."); ?>

2015-01-12 11:49:53 ERROR plgVmOnPaymentNotification: no transaction ID for order numberxxxxxxxxxxx


A transaction id shown in the backend (order informations).

Has anyone an idea to solve this?

VM 3.0.2 - J3.3

Thanks a lot!

Greetings

mmichele

Hi,
I got same problem. Have you fix it?

Thanks in advice.
Michele

ksfbjoern

Yes it works after one of the last updates of Virutemart and AIO (Now 3.0.9).

mhuebler

I use VM 3.0.9 but still have the Error

gba

Hi VM team!

I am using VM 3.0.10 and have the problem, too.
No fix for that?

Kind regards,
Gerald

mhuebler

the error is still see at the log file .. but the payment works without any problems

gba

Hi!

Thank you for your reply.
Indeed, while the user is redirected to the shop properly after payment, the order just gets the status 'Pending' and the website admin gets an e-mail about the error message.
By the way: The error log file mentioned in the e-mail even does not exist.
So I cannot confirm, that the payment procedure "works without any problems".

Kind regards,
Gerald

mhuebler

for me the order status is changed correct after redirect back to the shop (cancel and confirm)

alatak

Hello
QuoteIndeed, while the user is redirected to the shop properly after payment, the order just gets the status 'Pending' and the website admin gets an e-mail about the error message.

Can you check if the function file_get_contents is disabled ?
You can check that via joomla in yourwebsite.com/administrator/index.php?option=com_admin&view=sysinfo, tab PHP Information

gba

Hi!

Thank you for your reply!

No, the function 'file_get_contents' IS enabled.
I could not find it in the PHP information, though, but using ...<?php
if (function_exists('file_get_contents')) {
    echo 
"function enabled";
} else {
    echo 
"function disabled";
}
?>
... I found out, that the function is enabled.

Any other idea?
Does this payment method need SSL?

Kind regards,
Gerald

alatak

Hello

Which hoster do you have?
Because i read that 1&1 has this function disabled

Actually it is this parameter that you have to  check allow_url_fopen = On

If you set the option PHP Developer mode   to ON in the VM config, and there is a problem while using file_get_contents, there should be a warning.

gba

Hi!

My hoster confirmed, that function 'file_get_contents' is enabled.
Otherwise I could not get 'function enabled' in my little script above anyway.
'allow_url_fopen' is 'On'.
There is no warning concerning 'file_get_contents'.

The only warning I get is:
QuoteStrict Standards: Declaration of plgVmCustomParam::parseCustomParams() should be compatible with vmCustomPlugin::parseCustomParams(&$field, $xParams = 'customfiel...') in [root]/plugins/vmcustom/param/param.php on line 968

Here is the VM Debug list:
Quotevmdebug PHP 5.4
vmdebug Show All Errors
vmdebug $siteLang: de-DE self::$vmlangSef: self::$_jpConfig->lang de_de DefLang de_de
vmdebug vmTime: time to load config: 0.00936412811279297
vmdebug Start used Ram 2.75M
vmdebug Common jQuery is disabled
vmdebug Going to set pw fields unrequired
vmdebug Created new cart
vmdebug getVendorId normal shopper
vmdebug Created new Calculator Instance
vmdebug shipmentmethod Versand per Post = TRUE for variable weight = 0 Reason: no boundary conditions set
vmdebug shipmentmethod Versand per Post = TRUE for variable order amount = 15.3 Reason: no boundary conditions set
vmdebug shipmentmethod Versand per Post = TRUE for variable zip = 4101 Reason: no boundary conditions set
vmdebug shipmentmethod Versand per Post = TRUE for variable virtuemart_country_id = 14, Reason: Countries in rule or none set
vmdebug vmTime: Time consumed for shipment/payment plugins: 0.0120260715484619
vmdebug with openssl_random_pseudo_bytes Var1:
A
vmdebug SOFORT sendTransactionRequest
vmdebug SOFORT sendTransactionRequest ... SofortLib_Multipay ... sendRequest()
vmdebug PHP 5.4
vmdebug Show All Errors
vmdebug $siteLang: de-DE self::$vmlangSef: self::$_jpConfig->lang de_de DefLang de_de
vmdebug vmTime: time to load config: 0.012714147567749
vmdebug Start used Ram 2.75M
vmdebug Common jQuery is disabled
vmdebug getVendorId normal shopper
vmdebug Going to set pw fields unrequired
vmdebug Created new cart
vmdebug Created new Calculator Instance
vmdebug vmTime: vm view Finished task : 1.09915494918823
vmdebug End used Ram 10.25M
vmdebug Peak memory peak 10.25M
vmdebug Common jQuery is disabled
vmdebug Common jQuery is disabled
vmdebug vmTime: Time consumed for shipment/payment plugins: 8.392333984375E-5
vmdebug Common jQuery is disabled
vmdebug Common jQuery is disabled

Does the plugin need SSL?

Kind regards,
Gerald

lindapowers

It doesnt need SSL cause we are using it without and is working perfectly

alatak

Hello

QuoteDoes the plugin need SSL?
yes it does not need it

I have added a config parameter in the payment to enable logging of the sofort transaction.
It should give more information about why in your case the file_get_contents returns NULL.


gba

Hi!

Thank you very much for your special version.
Unfortunatelly the payment process still does not work.
This time even no log was written at all...

Kind regards,
Gerald