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:
This is due to a bug (SD-5733), to resolve this please see the workaround below:
- 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'.
- Open “OrderScript.pl” in a plain text editor (such as 'Notepad')
- Search for the following code:
Code:if (PSPUsesInContext
- you should see:
Code:if (PSPUsesInContext($::g_PaymentInfo{'METHOD'}))
- Replace this line of code with:
Code:if ((PSPUsesInContext($::g_PaymentInfo{'METHOD'})) || ($::g_PaymentInfo{'METHOD'} == 22))
- Save the file and close it
- Go to 'Web | Publish to Web'