Quote Originally Posted by Bigenuf View Post
Here is a PHP 5.3 specific error you will get in this module. If you see this in Customers> Worldpay Payments

Warning: number_format() expects parameter 1 to be double, string given in /home/xxxxx/public_html/admin/worldpay_response.php on line 141

The fix is go to line 141 in admin/worldpay_response.php and change

This
<td class="dataTableContent" align="right"><?php echo $wp_response->fields['REQUEST']['authCurrency'] . ' '.number_format($wp_response->fields['REQUEST']['authAmount'], 2); ?></td>

To This
<td class="dataTableContent" align="right"><?php echo $wp_response->fields['REQUEST']['authCurrency'] . ' '.number_format((double)$wp_response->fields['REQUEST']['authAmount'], 2); ?></td>

I really don't understand why adding (double) works - maybe someone can explain All i know is that on PHP 5.2 everything works ok but change to PHP 5.3 and it throws this error but otherwise the module works fine for transactions.
This is tested and running on 1.3.9h in PHP 5.3.

If your using Worldpay you are outsourceing the payment processing and your site never comes into contact with any credit card data so your site doesn't need to be PCI DSS compliant but your payment gateway does and that is worldpay but you do need to do a PCI DSS self assessment through worldpay.
Hi Big Enuf,

I have it installed under v1.5.1 but don't see anything under customers to do with worldpay payments? Am i missing something?

With regards to my issues:

I can confirm I now have the code working with zen-cart v1.5.1. I believe it was a problem with some of the session settings as pointed out by philip clarke a while back. I did a clean install of zen cart and the worldpay module again before figuring this one out.

I have made a few minor layout tweaks to get this to display correctly on my site and obviously changed the worldpay urls.

I did contact philip and he was available to respond (if anyone else needs him - he's available for a small fee) but I managed to get it up and running before he had to mess with the code.

I have noticed a few minor bugs such as this supposedly being v2.10 and it only showing as v2.09 in admin etc... I've also changed my side box card icons to some I have hosted locally (as ther others were ugly and to a set size).

I don't mind offering some help to anyone else who is stuck upgrading to v1.5.1. I'll contact Philip and ask if he can assist once the template system is all changed when v1.6 is released.