Use it without sandbox
Opened this issue · 2 comments
julio336 commented
How can I use the gem without the option of sandbox?
I would like to use it in production.
Thanks.
mahkhaled commented
just set config.sandbox = false
rapcal commented
If you want sandbox mode to be dynamically set, you could do something like this on PayPal::Recurring
initializer:
if Rails.env.development? || Rails.env.test?
config.sandbox = true
else
config.sandbox = false
end