Skip to content

Commit

Permalink
Update pay_pal_express.rb
Browse files Browse the repository at this point in the history
Fix regarding spree-contrib#213
  • Loading branch information
matissg authored Jan 2, 2021
1 parent 49c579a commit 6779158
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/models/spree/gateway/pay_pal_express.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6779158

Please sign in to comment.