summaryrefslogtreecommitdiff
path: root/billing/app/views/payments
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-03-19 15:54:24 -0700
committerAzul <azul@leap.se>2013-07-17 10:46:25 +0200
commita1837914b8f989e2c45fb7b78fc648f0d3f957d6 (patch)
tree0f43e54764acaad1ba8af6265432fe5606e6fbec /billing/app/views/payments
parent925534524317d0b6e7786d5a891e2b462b897d0a (diff)
Start to adding customers to braintree vault.
Diffstat (limited to 'billing/app/views/payments')
-rw-r--r--billing/app/views/payments/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/billing/app/views/payments/new.html.haml b/billing/app/views/payments/new.html.haml
index 9b06050..b6dd713 100644
--- a/billing/app/views/payments/new.html.haml
+++ b/billing/app/views/payments/new.html.haml
@@ -21,5 +21,5 @@
%div= c.text_field :expiration_date
%div= c.label :cvv, "CVV"
%div= c.text_field :cvv
- = hidden_field_tag :tr_data, Braintree::TransparentRedirect.transaction_data(:redirect_url => confirm_payment_url,:transaction => {:type => "sale", :amount => @amount})
+ = hidden_field_tag :tr_data, Braintree::TransparentRedirect.transaction_data(:redirect_url => confirm_payment_url,:transaction => {:type => "sale", :amount => @amount, :options => {:submit_for_settlement => true } })
= f.submit "Submit" \ No newline at end of file