The Payment
object contains information related to a Neon Fundraise payment. Payments are created with every Neon Fundraise transaction, including registrations, donations, and ticket purchases. The Payment
object is also available on refund emails, where its handle is Refund
.
Availability: The Payment
object is available on all transaction emails. These include:
- Donation Confirmation
- Offline Donation Verified
- Recommitment Charged
- Recurring Donation Plan and Instance emails
- Refund Donation Notification (object handle is
Refund
) - Registration Confirmation emails
- RSVP Confirmation
- Ticket Purchased Confirmation
Attributes: The Payment
object has the following attributes:
-
Payment.Name
-
Payment.Amount
- Payment.Base_Amount
- Payment.Additional_Amount_For_Fees
- Payment.Date
- Payment.Method
- Payment.Card_Type
-
Payment.Last_Four_Digits_On_Card
- Payment.Card_Exp_Month
- Payment.Card_Exp_Year
- Payment.Bank_Account_Number
- Payment.Bank_Routing_Number
- Payment.Currency_Key
- Payment.Is_Apple_Pay
- Payment.Is_Google_Pay
- Payment.Check_Number
- Payment.Is_Integrated_Daf_Distribution
Payment.Name
Returns the billing name on the transaction.
Payment.Amount
Returns the total payment amount. Use a money
filter to return the value in a monetary format:
{{ Payment.Amount | money }}
$59.17
Payment.Base_Amount
Returns the payment amount minus the amount covered for fees. Use a money
filter to return the value in a monetary format:
{{ Payment.Base_Amount | money }}
$54
Payment.Additional_Amount_For_Fees
Returns the difference between the donation amount and payment amount on a donation. This amount represents the amount covered by the donor as fees. Use a money
filter to return the value in a monetary format:
{{ Payment.Additional_Amount_For_Fees | money }}
$5.17
Payment.Date
Returns the date and time the payment was made. Use a date
filter to return the value in a recognized format:
{{ Payment.Date | date: "%B %d, %Y, %I:%M %p" }}
January 1, 2019, 08:16 PM
Payment.Method
Returns the payment method. Possible values:
-
Credit Card
-
Offline Credit Card
- Check
-
Cash
-
In-Kind
-
Wire
-
Paypal
-
Bank Account
Payment.Card_Type
Returns the card type, assuming the payment method was Credit Card. Possible values:
- American Express
- Discover
- Mastercard
- Visa
Payment.Last_Four_Digits_On_Card
Returns the last four digits of the credit card used for the transaction, assuming the payment method was Credit Card.
Payment.Card_Exp_Month
Returns the expiration month of the credit card used for the transaction, assuming the payment method was Credit Card.
Payment.Card_Exp_Year
Returns the expiration year of the credit card used for the transaction, assuming the payment method was Credit Card.
Payment.Bank_Account_Number
Returns the bank account number used for the transaction, assuming the payment method was Bank Account.
Payment.Currency_Key
Returns the three-letter currency code in which the transaction was processed. For example: USD, CAD.
Payment.Is_Apple_Pay
Returns true if the payment was made via Apple Pay. Use an if tag to add conditional text based on whether the payment was made via Apple Pay.
{% if Payment.Is_Apple_Pay %}
This payment was made via Apple Pay.{% endif %}
If the payment was made via Apple Pay, the output will be:
This payment was made via Apple Pay.
If the payment was not made via Apple Pay, there will be no output.
Payment.Is_Google_Pay
Returns true if the payment was made via Google Pay. Use an if tag to add conditional text based on whether the payment was made via Google Pay.
{% if Payment.Is_Google_Pay %}
This payment was made via Google Pay.{% endif %}
If the payment was made via Google Pay, the output will be:
This payment was made via Google Pay.
If the payment was not made via Google Pay, there will be no output.
Payment.Check_Number
Returns the check number if the payment type is check and there is a check number recorded.
Payment.Is_Integrated_Daf_Distribution
Returns true if a DAF distribution was made through an integrated provider.