diff --git a/app/models/spree/gateway/pay_pal_express.rb b/app/models/spree/gateway/pay_pal_express.rb index fa47cb0c..7a31ad47 100644 --- a/app/models/spree/gateway/pay_pal_express.rb +++ b/app/models/spree/gateway/pay_pal_express.rb @@ -19,10 +19,12 @@ def provider_class def provider ::PayPal::SDK.configure( - :mode => preferred_server.present? ? preferred_server : "sandbox", - :username => preferred_login, - :password => preferred_password, - :signature => preferred_signature) + mode: preferred_server.present? ? preferred_server : "sandbox", + username: preferred_login, + password: preferred_password, + signature: preferred_signature, + ssl_options: { ca_file: nil } + ) provider_class.new end