From 3ffac4e77a118ee6ec7d369b0250c11830c2f7e0 Mon Sep 17 00:00:00 2001 From: jessib Date: Tue, 12 Mar 2013 13:32:46 -0700 Subject: Basic functionality for one time transactions using Braintree's transparent redirect API based from https://github.com/braintree/braintree_ruby_examples/tree/master/rails3_tr_checkout (very little changes were required) --- billing/app/views/payments/confirm.html.erb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 billing/app/views/payments/confirm.html.erb (limited to 'billing/app/views/payments/confirm.html.erb') diff --git a/billing/app/views/payments/confirm.html.erb b/billing/app/views/payments/confirm.html.erb new file mode 100644 index 0000000..5ab851e --- /dev/null +++ b/billing/app/views/payments/confirm.html.erb @@ -0,0 +1,16 @@ +

Payment Result

+ +
Thank you for your payment.
+ +

Transaction Details

+ + + + + + + + + +
Amount$<%= @result.transaction.amount %>
Transaction ID:<%= @result.transaction.id %>
First Name:<%= h @result.transaction.customer_details.first_name %>
Last Name:<%= h @result.transaction.customer_details.last_name %>
Email:<%= h @result.transaction.customer_details.email %>
Credit Card:<%= h @result.transaction.credit_card_details.masked_number %>
Card Type:<%= h @result.transaction.credit_card_details.card_type %>
+ -- cgit v1.2.3