Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
Table of Contents
maxLevel4
minLevel2
outlinetrue
classtoc

Description

This email template is sent to a client's payment account contact to notify them after an ACH payment was attempted from their account, but was declined by the payment gateway.

...

Expand
titleAdditional Tags

Due to the nature of tag objects containing several fields, many of which are likely irrelevant for use in email templates, but may be useful to you in certain circumstances, an example dump of the tag objects are shown below.

Code Block
languagephp
titleThe {contact} object
collapsetrue
stdClass Object
(
    [id] => 2
    [client_id] => 2
    [user_id] =>
    [contact_type] => primary
    [contact_type_id] => 
    [first_name] => First
    [last_name] => Last
    [title] => 
    [company] => Company Co.
    [email] => first.last@domain.com
    [address1] => 123 Main St.
    [address2] => 
    [city] => City
    [state] => CA
    [zip] => 90001
    [country] => US
    [date_added] => 2014-01-01 00:00:00
    [contact_type_name] =>
    [contact_type_is_lang] =>
)
Code Block
languagephp
titleThe {company} object
collapsetrue
stdClass Object
(
    [id] => 1
    [name] => Company Phillips Data, Inc.
    [hostname] => company.domain.com
    [address] => 1 Company Ave. City, ST Zip
    [phone] => 1.123.555.4444
    [fax] => 
}
Code Block
languagephp
titleThe {response} object
collapsetrue
stdClass Object
(
    [status] => declined
    [reference_id] => 0987654321
    [transaction_id] => 1X270001110
    [message] => The payment could not be processed
}

 

 

...