From e206bea51fe397d23c4ac9f11b18e51dda02fc87 Mon Sep 17 00:00:00 2001 From: Godwin Date: Fri, 2 Oct 2015 22:45:38 -0700 Subject: [PATCH] Reverting change for paypal --- app/views/shared/_donate_button.html.haml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/app/views/shared/_donate_button.html.haml b/app/views/shared/_donate_button.html.haml index 28e68a5..6dad251 100644 --- a/app/views/shared/_donate_button.html.haml +++ b/app/views/shared/_donate_button.html.haml @@ -1,12 +1,8 @@ --#%form{action: 'https://www.paypal.com/cgi-bin/webscr', method: 'post', target: '_top', class: 'paypal-button'} --# %input{type: 'hidden', name: 'cmd', value: '_donations'} --# %input{type: 'hidden', name: 'business', value: email_address} --# %input{type: 'hidden', name: 'lc', value: 'US'} --# %input{type: 'hidden', name: 'item_name', value: 'Bike!Bike!'} --# %input{type: 'hidden', name: 'no_note', value: '0'} --# %input{type: 'hidden', name: 'currency_code', value: 'USD'} --# %button{type: 'submit', value: 'PP-DonationsBF:paypal_logo.png:NonHostedGuest'}=_'donate.button_label','Donate!' -%form{:action => "https://www.paypal.com/cgi-bin/webscr", :method => "post", :target => "_top", class: 'paypal-button'} - %input{:name => "cmd", :type => "hidden", :value => "_s-xclick"} - %input{:name => "hosted_button_id", :type => "hidden", :value => "9SHUJKYU4V3C2"} - %button{type: 'submit', value: 'PP-DonationsBF:paypal_logo.png:NonHostedGuest'}=_'donate.button_label','Donate!' \ No newline at end of file +%form{action: 'https://www.paypal.com/cgi-bin/webscr', method: 'post', target: '_top', class: 'paypal-button'} + %input{type: 'hidden', name: 'cmd', value: '_donations'} + %input{type: 'hidden', name: 'business', value: email_address} + %input{type: 'hidden', name: 'lc', value: 'US'} + %input{type: 'hidden', name: 'item_name', value: 'Bike!Bike!'} + %input{type: 'hidden', name: 'no_note', value: '0'} + %input{type: 'hidden', name: 'currency_code', value: 'USD'} + %button{type: 'submit', value: 'PP-DonationsBF:paypal_logo.png:NonHostedGuest'}=_'donate.button_label','Donate!'