Open aglushkov opened 3 years ago
It is happens only in tests because I mocked paypal response with frozen headers:
# frozen_string_literal: true
# ...
stub_request(:post, 'https://api.sandbox.paypal.com/v2/checkout/orders')
.to_return(
status: 200,
body: { id: 'PAY-1B56960729604235TKQQIYVY' }.to_json,
headers: { 'Content-Type' => 'application/json' }
)
It looks currently like issue of webmock gem, but changing code here from downcase!
to downcase
is not a big deal
General information
Issue description