Closed darkBuddha closed 2 years ago
One potential simple fix for the URI.escape
removal?: https://github.com/rollbar/rollbar-gem/pull/988/files
See #18
or a quick fix:
module URI
# for PayPal client
def self.escape(string)
URI.encode_www_form_component(string).gsub('+', '%20')
end
end
Any chance of getting this fixed now that ruby 3.1 is out?
Any chance of getting this fixed now that ruby 3.1 is out?
stripe doesn't have paypal support ;)
On Mon, Jan 03, 2022 at 19:27:15, darkBuddha < @.*** > wrote:
Any chance of getting this fixed now that ruby 3.1 is out?
https:/ / stripe. com/ docs/ api?lang=ruby ( https://stripe.com/docs/api?lang=ruby )
— Reply to this email directly, view it on GitHub ( https://github.com/paypal/paypalhttp_ruby/issues/12#issuecomment-1004274451 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AOASD56N5644CM3CQGVOXLLUUHTAHANCNFSM5EFZFU5A ). Triage notifications on the go with GitHub Mobile for iOS ( https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 ) or Android ( https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub ). You are receiving this because you commented. Message ID: <paypal/paypalhttp_ruby/issues/12/1004274451 @ github. com>
stripe doesn't have paypal support ;)
Stripe doesn't block developers (paying customers) from upgrading their projects...
you can use the monkey patch or my branch in the fork, or make your own fork. I agree PayPal is technically horrible (the developer docs are the worst website on the internet) but hey people like to use paypal (I do)
you can use the monkey patch or my branch in the fork
Thanks man, great work!
This is fixed in v2.0.0, which was just released.
Unfortunately the paypal-checkout-sdk gem is now deprecated, and the old versions are incompatible with the recently fixed paypalhttp gem.
If somebody needs this as urgently as I do, please feel free to use my fork.
In the Gemfile:
gem 'paypalhttp', '~> 2.0.0'
gem 'paypal-checkout-sdk', git: 'https://github.com/darkBuddha/Checkout-Ruby-SDK.git', ref: 'f1aab0f4e367aad1de937bba6cbc4abb22900339'
It seems to work fine.
for good measure, since we can't rely on trust on such a sensitive area as payments, pin the commit on the fork ;)
gem 'paypal-checkout-sdk', git: 'https://github.com/darkBuddha/Checkout-Ruby-SDK.git', :ref => 'f1aab0f4e367aad1de937bba6cbc4abb22900339'
General information
Issue description
The gem should support the latest Ruby version. It offers major advantages over Ruby 2.