Arun Kumar
2009-Mar-19 12:15 UTC
How to change paypal url from sandbox to papal original url. i am using paypal lib -- paypal (2.0.0)
sub :How to change paypal url from sandbox to papal original url. i am using paypal lib -- paypal (2.0.0) Hi all, I am test my application with local it working fine when i want to go for live. i need to change the pay pal form target to Paypal orginal site address. I don''t know how to chage the form target in paypal helper. i paste my code below.. plz check it. I use paypal lib --paypal (2.0.0) <% form_tag Paypal::Notification.ipn_url do %> <%= paypal_setup "Credit purchase", (amounts.collect {|a| a.amount}.join(".") unless amounts.empty?), "bussiness-q89RzV0OsXQ@public.gmane.org", :notify_url =>url_for(:only_path => false, :action => ''paypal_ipn'' ),:return =>url_for(:only_path => false, :action => ''paypal_success''),:cancel_return => url_for(:only_path => false, :action => ''paypal_failure''),:currency_code => ''JPY'',:custom => request.remote_ip, :on0 => user.id.to_s, :on1 => "HJCART"%> <%= image_submit_tag("/images/btn_submit1.gif") %> <%end%> Default the submit tag went to sandbox site ( https://www.sandbox.paypal.com/cgi-bin/webscr) , how to change the form tag to pay (https://www.paypal.com/cgi-bin/webscr) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---