Ask A Question


You’re not receiving notifications from this thread.

How would you implement API calls towards a payment solution

Ole K asked in Rails

So far I've been using Stripe and Paypal + Rails gems to make payments for my apps.
These days, I am considering changing to a new vendor, with better prices and services fitted for my need. So my question is this:

How would you implement proper API-calls towards these endpoints, without any gems?
I can not find the vendor in e.g. ActiveMerchant. The calls needed from my Rails app should be fairly basic with authentication. JSON is supported.

Any general payment/api-call gems for Rails?
Are there any JS-libraries I should use to help me out?
Have you seen any good tutorials discussing this type of general API request?

Thanks a lot for any answers.
ps: Loving the videos Chris!

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 79,047+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2023 GoRails, LLC. All rights reserved.