Announcement

Collapse
No announcement yet.

Delivery address sent to Sage Pay contains elements of invoice address.

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

    Delivery address sent to Sage Pay contains elements of invoice address.

    Sage Pay operate a fraud screening program based on the customer invoice and delivery address however the current Sagepay v3 integration is sending the invoice address lines 1, 2 and 3 as the customers delivery address.

    To resolve this please go to the 'CommonOCC' folder that exists beneath your site folder (it will be called 'Site1' if there is no other site within the software) and open the file: -

    OCCSagePay.pl

    within a plain text editor.

    Locate the following lines: -

    Code:
    $hashParams{'DeliveryAddress1'} = $::InvoiceContact{ADDRESS1};
    $hashParams{'DeliveryAddress2'} = $::InvoiceContact{ADDRESS2};
    $hashParams{'DeliveryCity'} = $::InvoiceContact{ADDRESS3};
    With:-

    Code:
    $hashParams{'DeliveryAddress1'} = $::OCCShipData{ADDRESS1};
    $hashParams{'DeliveryAddress2'} = $::OCCShipData{ADDRESS2};
    $hashParams{'DeliveryCity'} = $::OCCShipData{ADDRESS3};
    Then when you have done this there is a second instance of this code further down the script which must also have the code replaced as above.

    Once you have edited both sets of code, save the file and upload the site for the changes to take place.

    This problem is caused by a bug (PSP-544) which is planned to be fixed in SellerDeck 2016 (16.0.0) and a new release of SellerDeck 2014 (14.0.3).
Working...
X