Announcement

Collapse
No announcement yet.

Sage pay billing postal code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Sage pay billing postal code

    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
    www.satellite.ie

    #2
    There are old fixes here and here they may need adjustments.
    Peblaco

    Comment


      #3
      Thanks for the quick response , I think the second fix is a good starting point. I'll post back with the finished script after I run it by support.
      www.satellite.ie

      Comment

      Working...
      X