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.
Bookmarks