summaryrefslogtreecommitdiff
path: root/billing/app/views/payments/confirm.html.erb
blob: 5ab851e8dbf893f4e6b649c2b0c79ff98d688c91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<h1>Payment Result</h1>

<div>Thank you for your payment.</div>

<h2>Transaction Details</h2>

<table>
  <tr><td>Amount</td><td>$<%= @result.transaction.amount %></td></tr>
  <tr><td>Transaction ID:</td><td><%= @result.transaction.id %></td></tr>
  <tr><td>First Name:</td><td><%= h @result.transaction.customer_details.first_name %></td></tr>
  <tr><td>Last Name:</td><td><%= h @result.transaction.customer_details.last_name %></td></tr>
  <tr><td>Email:</td><td><%= h @result.transaction.customer_details.email %></td></tr>
  <tr><td>Credit Card:</td><td><%= h @result.transaction.credit_card_details.masked_number %></td></tr>
  <tr><td>Card Type:</td><td><%= h @result.transaction.credit_card_details.card_type %></td></tr>
</table>