Active
Project:
Sage Pay Go Direct Payment Gateway for Ubercart
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2011 at 14:57 UTC
Updated:
16 Jul 2012 at 13:03 UTC
Line 416: invalid format
'BillingCity' => substr($order->billing_city, 0, 40),
This works
'BillingCity' => substr($order->billing_city, 0, 38),
Comments
Comment #1
longwaveSage Pay documents that 40 characters is the maximum here, but I suspect the city in question contained multibyte characters. The true fix is to use drupal_substr() instead of substr().