cancel
Showing results for 
Search instead for 
Did you mean: 

Send merchant/customer email upon priorAuthCaptureTransaction

Hi,

 

I would like to send emails to customer and merchants when capturing previously authorized transaction. But I dont get any. Adding settings doesnt seem to do anything.

 

I get both metchant/customer emails upon initial authorization though.

 

Here is my priorAuthCaptureTransaction request:

 

<?xml version="1.0" encoding="UTF-8"?>
<createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <merchantAuthentication>
      <name></name>
      <transactionKey></transactionKey>
   </merchantAuthentication>
   <clientId>sdk-dotnet-2.0.1</clientId>
   <transactionRequest>
      <transactionType>priorAuthCaptureTransaction</transactionType>
      <amount>24.5900</amount>
      <refTransId>40056415996</refTransId>
      <lineItems>
         <lineItem>
            <itemId>0</itemId>
            <name>FEES</name>
            <description>BoxFee: $0.00, HandlingFee: $0.00,  PickingFee: $0.00</description>
            <quantity>1</quantity>
            <unitPrice>0.0000</unitPrice>
         </lineItem>
         <lineItem>
            <itemId>1</itemId>
            <name>ME-2020CONF-NVY-XL</name>
            <description>ACNE IS PERSISTENT. SO ARE WE. - XL</description>
            <quantity>1</quantity>
            <unitPrice>14.00</unitPrice>
            <taxable>true</taxable>
            <taxRate>0</taxRate>
            <taxAmount>0</taxAmount>
            <nationalTax>0</nationalTax>
            <localTax>0</localTax>
            <vatRate>0</vatRate>
            <alternateTaxRate>0</alternateTaxRate>
            <alternateTaxAmount>0</alternateTaxAmount>
            <totalAmount>0</totalAmount>
            <discountRate>0</discountRate>
            <discountAmount>0</discountAmount>
         </lineItem>
      </lineItems>
      <tax>
         <amount>1.7900</amount>
         <name>Tax Amount</name>
         <description>Tax Amount</description>
      </tax>
      <shipping>
         <amount>8.8000</amount>
         <name>Ship Amount</name>
         <description>Ship Amount</description>
      </shipping>
      <shipTo>
         <address>48 Windward Way</address>
         <city>Auburn Township</city>
         <state>OH</state>
         <zip>44023-6706</zip>
         <country>US</country>
      </shipTo>
      <transactionSettings>
         <setting>
            <settingName>emailCustomer</settingName>
            <settingValue>true</settingValue>
         </setting>
         <setting>
            <settingName>merchantEmail</settingName>
            <settingValue>true</settingValue>
         </setting>
      </transactionSettings>
   </transactionRequest>
</createTransactionRequest>

 

Thanks!

2 REPLIES 2

You have the transactionRequest,customer,email setting? Enabled in Merchant Interface settings?

kabutotx
Regular Contributor

I get initial emails when amount is authorized. So I imagine they are set up.

 

Emails to customer are enabled and I am set to receive transaction receipts. Was there anything extra I need to check? I'm using sandbox.