The credit card charge for your lesson today with <%= @teacher.first_name %> failed.
Hello <%= @student.name %>,

<% if @card_declined %>
  When we tried to charge your credit card for your lesson on <%= @bill_date %> with <%= @teacher.name %>, the charge was declined. Can you please call your credit card company to clear up the issue, or if you need to update some of your credit card information, please use the button below to go to a page where you can change your card info. Thank you!
<% elsif @card_expired %>
  When we tried to charge your credit card for your lesson on <%= @bill_date %> with <%= @teacher.name %>, the charge failed because the card is expired. To update your credit card information, please use the button below to go to a page where you can change your card info. Thank you!
<% else %>
  For some reason, when we tried to charge your credit card for your lesson on <%= @bill_date %> with <%= @teacher.name %>, the charge failed. Can you please call your credit card company to clear up the issue, or if you need to update some of your credit card information, please use the button below to go to a page where you can change your card info. Thank you!
<% end %>


Update Payment info here: <%= @lesson_session.update_payment_url %>

Best Regards,
Team JamKazam


