Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Email Customers With Failed Transactions

  1. #1
    Blush.no is offline Junior Member
    Join Date
    Nov 2009
    Posts
    7

    Default Email Customers With Failed Transactions

    Hello.

    Is it possible for the system to send an email to the customers when a transaction failes? The Failed Transactions report has a CustomerEmailed coloumn, but all the values in the coloumn is set to 0.

    If it's not possible, can you point me to where in the code I can add functionality for that?



    Regards,
    Anders Lund Fredriksen
    Blush.no

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    If you have the source, you can do that by adding a logic in ProcessCard() method from the Gateway.cs class. At the bottom of that method you can find "if (Status != AppLogic.ro_OK)" condition which checks if the transaction was validated OK from your payment gateway. You can use the AppLogic.SendMail method to send notification for failed orders to customer with your customized notification XML Package.

  3. #3
    esedirect is offline Senior Member
    Join Date
    Feb 2010
    Location
    Norfolk, UK
    Posts
    343

    Default

    You could also put a trigger on the table for when a record is inserted into FailedTransaction which sends an email. We use this to notify us of a failed transaction, so that we can follow up with a call to the customer. It emails us the content of TransactionCommand and TransactionResult which hold all the necessary information.