Hi, does anyone have the code to force the sagepay script to force a postcode of 0000 when the customer is in Ireland IE . Getting Malformed 3090Thought this would have been already fixed in the latest PSP file but it seems not.
Something like this I'm guessing, not sure at what line to place it though
// Fix for Sagepay error with addresses in Ireland.
// Status: MALFORMED
// Status Detail: 3090 : The BillingPostCode is required.
// Irish addresses don't have a postcode, but Sagepay needs a (dummy)
// postcode.
if ($address['country'] == 'IE') {
$query['BillingPostcode'] = '0000';
$query['DeliveryPostcode'] = '0000';
}
// End Fix
Thanks in advance
Something like this I'm guessing, not sure at what line to place it though
// Fix for Sagepay error with addresses in Ireland.
// Status: MALFORMED
// Status Detail: 3090 : The BillingPostCode is required.
// Irish addresses don't have a postcode, but Sagepay needs a (dummy)
// postcode.
if ($address['country'] == 'IE') {
$query['BillingPostcode'] = '0000';
$query['DeliveryPostcode'] = '0000';
}
// End Fix
Thanks in advance
Comment