Announcement

Collapse
No announcement yet.

Order confirmation emails are not sent when using new Sage Pay integration

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

  • Order confirmation emails are not sent when using new Sage Pay integration

    If you are using the new Sage Pay (v3 protocol) integration recently released, you may find that order confirmation emails are not sent when the order contains a digital download product.

    This is due to a bug (SD-5733), to resolve this please see the workaround below:
    1. On your computer browse to your site folder, which may be in a location similar to:

      Documents\SellerDeck xxxx\Sites

      (where xxxx is the version used) and if there are no other sites within the software will be called 'Site1'.

    2. Open “OrderScript.pl” in a plain text editor (such as 'Notepad')
    3. Search for the following code:

      Code:
      if (PSPUsesInContext
    4. you should see:

      Code:
      if (PSPUsesInContext($::g_PaymentInfo{'METHOD'}))
    5. Replace this line of code with:

      Code:
      if ((PSPUsesInContext($::g_PaymentInfo{'METHOD'})) ||
         ($::g_PaymentInfo{'METHOD'} == 22))
    6. Save the file and close it
    7. Go to 'Web | Publish to Web'
Working...
X