How to change paypal url from sandbox to papal original url. i am using paypal lib -- paypal (2.0.0


#1

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?), “removed_email_address@domain.invalid”,
: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)