From 04288c2a2179d7aa71a2fa21267e6f02fb0400e2 Mon Sep 17 00:00:00 2001 From: jessib Date: Thu, 21 Mar 2013 13:51:58 -0700 Subject: Unauthenticated users can make single payments (like donations), but payments from authenticated users will be as a Braintree Customer stored in the braintree vault. --- billing/app/views/payments/_customer_data.html.haml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 billing/app/views/payments/_customer_data.html.haml (limited to 'billing/app/views/payments/_customer_data.html.haml') diff --git a/billing/app/views/payments/_customer_data.html.haml b/billing/app/views/payments/_customer_data.html.haml new file mode 100644 index 0000000..900fbd8 --- /dev/null +++ b/billing/app/views/payments/_customer_data.html.haml @@ -0,0 +1,15 @@ +%h2 Customer Information +%dl + %dt First Name + %dd= @braintree_data.first_name + %dt Last Name + %dd= @braintree_data.last_name + %dt Phone + %dd= @braintree_data.phone +%h2 Credit Card Information +%dl + %dt Number + %dd= @default_cc.masked_number + %dt Expiration Date + %dd= @default_cc.expiration_date += link_to 'edit saved data', edit_customer_path(@customer.braintree_customer_id), :class => :btn -- cgit v1.2.3