ruby-paypal-example/app/views/payments/show.html.erb

25 lines
755 B
Plaintext
Raw Normal View History

2013-04-30 05:55:08 +00:00
<p id="notice"><%= notice %></p>
<p>
<b>Profile:</b>
<%= @payment.profile %>
</p>
2013-04-30 09:42:53 +00:00
<p>
<b>Status:</b> <%= @paypal_result['STATUS'] %><br/>
<b>Last Payment Date:</b> <%= @paypal_result['LASTPAYMENTDATE'] %><br/>
<b>Last Payment Amount:</b> <%= @paypal_result['LASTPAYMENTAMT'] %>
</p>
<p>
<b># Payments Complete:</b><%= @paypal_result['NUMCYCLESCOMPLETED'] %><br/>
<b>Start date:</b> <%= @paypal_result['PROFILESTARTDATE'] %><br/>
<b>Next Billing date:</b> <%= @paypal_result['NEXTBILLINGDATE'] %><br/>
<b>Total Amount paid:</b> <%= @paypal_result['REGULARAMTPAID'] %>
</p>
<p>
<b>PayPal Timestamp:</b> <%= @paypal_result['TIMESTAMP'] %>
</p>
2013-04-30 05:55:08 +00:00
<%= link_to 'Edit', edit_payment_path(@payment) %> |
<%= link_to 'Back', payments_path %>