Skip to content

Commit 78fced5

Browse files
authored
add text version of receipt mailer (#1176)
1 parent 0c774b2 commit 78fced5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
We received payment for your <%= Pay.application_name %> subscription. Thanks for your business!
2+
3+
Questions? Please reply to this email.
4+
5+
------------------------------------
6+
RECEIPT - SUBSCRIPTION
7+
8+
<%= Pay.application_name %>
9+
Amount: <%= params[:pay_charge].amount_with_currency %>
10+
11+
Charged to: <%= params[:pay_charge].charged_to %>
12+
Transaction ID: <%= params[:pay_charge].id %>
13+
Date: <%= l params[:pay_charge].created_at %>
14+
<% if params[:pay_charge].customer.owner.try(:extra_billing_info?) %>
15+
<%= params[:pay_charge].customer.owner.extra_billing_info %>
16+
<% end %>
17+
18+
<%= Pay.business_name %>
19+
<%= Pay.business_address %>
20+
------------------------------------

0 commit comments

Comments
 (0)