Skip to content

Commit

Permalink
feat: Add ACH to stripe payment emails
Browse files Browse the repository at this point in the history
  • Loading branch information
suejung-sentry committed Jan 21, 2025
1 parent ce786b3 commit f5923a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/auto-refund.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h2>Sorry to see you go, {{ name }}</h2>
</svg>

<p>
A ${{ amount }} auto refund has been processed and will be credited to your {% if card_type %}{{ card_type | capitalize }}{% else %}card{% endif %}{% if last_four %} ending in {{ last_four }}{% endif %} shortly.
A ${{ amount }} auto refund has been processed and will be credited to your {% if card_type %}{{ card_type | capitalize }}{% else %}card{% endif %}{% if card_type == 'us_bank_account' and bank_name %} from {{ bank_name }}{% endif %}{% if last_four %} ending in {{ last_four }}{% endif %} shortly.
</p>
</div>
<p>
Expand Down
2 changes: 1 addition & 1 deletion templates/auto-refund.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Your subscription has been successfully canceled. Your account has been returned to our one-seat developer plan. We appreciate your business and welcome you back anytime.

A ${{ amount }} auto refund has been processed and will be credited to your {% if card_type %}{{ card_type | capitalize }}{% else %}card{% endif %}{% if last_four %} ending in {{ last_four }}{% endif %} shortly.
A ${{ amount }} auto refund has been processed and will be credited to your {% if card_type %}{{ card_type | capitalize }}{% else %}card{% endif %}{% if card_type == 'us_bank_account' and bank_name %} from {{ bank_name }}{% endif %}{% if last_four %} ending in {{ last_four }}{% endif %} shortly.

If you have any questions or need help, please contact us at [email protected]
2 changes: 1 addition & 1 deletion templates/failed-payment.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"
>
We were unable to process your {% if card_type %}{{ card_type |
capitalize }}{% else %}card{% endif %}{% if last_four %} ending in
capitalize }}{% else %}card{% endif %}{% if card_type == 'us_bank_account' and bank_name %} from {{ bank_name }}{% endif %}{% if last_four %} ending in
{{ last_four }}{% endif %}. Please take a moment to double check
your payment information to ensure your account continues to run
smoothly.
Expand Down
2 changes: 1 addition & 1 deletion templates/failed-payment.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Your ${{ amount }} payment to Functional Software, Inc, dba Sentry has failed.

We were unable to process your {% if card_type %}{{ card_type | capitalize }}{% else %}card{% endif %}{% if last_four %} ending in {{ last_four }}{% endif %}. Please take a moment to double check your payment information to ensure your account continues to run smoothly.
We were unable to process your {% if card_type %}{{ card_type | capitalize }}{% else %}card{% endif %}{% if card_type == 'us_bank_account' and bank_name %} from {{ bank_name }}{% endif %}{% if last_four %} ending in {{ last_four }}{% endif %}. Please take a moment to double check your payment information to ensure your account continues to run smoothly.

In most cases, a payment might fail due to:
- An expired card
Expand Down

0 comments on commit f5923a0

Please sign in to comment.