how to implement a payment system in rails [closed] - ruby-on-rails

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am new to the rails world and am in the process of setting up a small rails app for a client. One of the requirements is that the user enters their credit card which gets charged for a specified amount.
I haven't had much experience with payment systems. I believe active merchant gem can be used for this purpose but how does actually charging the card work out and for testing purpose will I be able to charge a dummy account? From your experience, is it safe to go with a provider like paypal?

You should checkout ActiveMerchant.
FYI Peepcode has a post on this:
http://peepcode.com/products/activemerchant-pdf

Watch out, if you store or accept credit cards directly on your website you need to be PCI DSS compliant.
There are a number of solutions out there to overcome this issue, the first notably is to delegate the payment infrastructure to a third party like Recurly, since it also operates in Europe with different providers, but it's more on recurring payment.
The primary choice in US would be Braintree or the newest Stripe.com.
Braintree has another solution to keep the user never leave your site, it's called Transparent Redirect.

Related

Xcode SwiftUI PayPal Integration iOS [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am the founder of a Covid-19 relief nonprofit. I'm writing an app to accept donations and provide news and event information to anyone who has the app. I was wondering if there's any easy way to integrate a Paypal donation system into this? I thought BraintreeIOS would work but it seems to be outdated and doesn't support SwiftUI, only Swift.
Anyone have any ideas on how to achieve this?
The Native Checkout SDK might be overkill for donations. Most simply, open the following in a web browser or SafariViewController with an address bar:
https://www.paypal.com/webscr?cmd=_donations&item_name=STRING%20DESCRIBING%20PURPOSE%20OF%20DONATION&currency_code=USD&business=EMAIL_ADDRESS_OR_MERCHANT_ID
Use merchant ID from https://www.paypal.com/businessmanage/account/aboutBusiness , though primary email of PayPal account also works
You can even prefill the amount with &amount=xxx%2exx (though that gives no option for monthly recurrence)
For more see HTML Variables for PayPal Payments Standard, it's a legacy Web 2.0 integration but it gets the job done

which is the best payment gateway for service purchasing in iOS app? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 months ago.
The community reviewed whether to reopen this question 5 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I am developing one application for iOS. In that user can purchase doctor services. I dont have any idea about payment gateways. So, please suggest me which is the best payment gateway method and how to implement that in my iOS app. ( I am from India), i heard payment gateway methods depends upon the country.
There are quite a few - also depends on your country as not all providers cover all countries. Take a look at:
https://stripe.com/
https://www.braintreepayments.com/
and probably http://www.paypal.com
What you want is something that's easy to code for (securely) in iOS. All the above (as well as many others) have APIs and sample code that make connecting to process payments easy and secure.
EDIT
Just seen you've added that you're in India. Assuming that means that you want to process payments in India, then I think your options (as at July 2014) are more limited. Certainly stripe and braintree don't cover India. I believe PayPal do (although maybe not with their latest APIs), so that might be your best bet.

PCI compliant voice API services (like Twilio) [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have a client who would like to accept credit card payments over the phone automatically. While normally I'd use something like Stripe for the credit card processing, I recognize that ultimately I'd have to temporarily store the credit card information on my server to pass it on to my processor, and even more importantly, whatever voice service I'm using (like Twilio) would also see that information and have to be PCI compliant.
Question:
Are there any PCI-compliant voice API providers (like Twilio)?
If not, how might it be possible to create such a set up where I could automatically accept credit cards over the phone?
The search term you are looking for is "IVR Payment System" - there are a bunch of companies out there offering this including several with PCI-DSS Level 1 certification. Basically this approach involves you transferring the call to the payment IVR, and then it will transfer the call back after collecting the credit card information.

restricting number of users in Rails [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Our Ruby on Rails product is sold and installed on third parties.
Is there any secured way to license and restrict the app for certain number of users?
Considering that the client has full access to the sources?
One way I could think of is to use source encryptor, but this is over-kill solution which the product owner doesn't want.
in short, if the customer has the source code, they can edit out any protection you wish to put there. incl. Pablo's option on a module in a different language. This is probably why most subscription software products developed in Ruby (and other scripting languages) are sold as a SAAS, which means the customer has no access to the source code.
Probably the best way is to implement an license manager and let your application make an API call to know if it can continue.
There are several ways to implement this, like tokens or timestamps, where your application validates them before proceeding.
But you need to be conscious that if your costumer has access to the source code, it be edited. If you want to ensure that nobody messes with you license scheme, create a C/C++ module and use it in you ruby code.

Tax Service Recommendation for a Rails App? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm developing a cart that needs to calculate tax and am looking for a 3rd party tax service to handle the calculations.
I've used Avalara in another app, but it's somewhat miserable since I have to use the Rjb gem with their java library.
Does anyone have a recommendation for a tax service that works well with rails?
I don't know what capabilities for tax calculations are in the library, but ActiveMerchant is an awesome utility for E-Commerce applications. It is well documented and in active development.
Its variety of payment processors might provide you with the calculations you need.
http://www.activemerchant.org/
We use StrikeIron in our applications.
To be honest, it's not the most awesome interface to interact with (unless you really love SOAP). You still have to handle all tax logic in your application, of course, but if you need tax rates broken down by state, county, and city, it should handle your needs fairly well.
This being said, I have yet to find a tax service That Just Ties into Rails™. I'm curious to see what others will have to say in regards to this.

Resources