lib/paypal-subscribe.rb
# INTERNAL - Form url. 
#
# For production environment:
#  - https://www.paypal.com/cgi-bin/webscr
# 
# In any other environment it returns a sandbox link.
Form url.

In any other environment it returns a sandbox link.
Form url . In any other environment it returns a sandbox link .
def paypal_url
    if defined?(Rails.env)
      return Rails.env.eql?("production") ? @production_uri : @sandbox_uri
    else
      return @sandbox_uri
    end
  end
def paypal_url if defined? ( Rails . env ) return Rails . env . eql? ( "production" ) ? @production_uri : @sandbox_uri else return @sandbox_uri end end
INTERNAL - Form url.
INTERNAL - Form url .