Questions tagged [activemerchant]

Active Merchant is an extraction from the e-commerce system Shopify

Active Merchant is an extraction from the e-commerce software solution . It provides a simple and unified API to access dozens of different payment gateways with very different internal APIs.


Documentation :

309 questions
5
votes
7 answers

Validating user's API credentials - Rails, ActiveMerchant, and PayPal Express Gateway

I'm building a marketplace application that uses PayPal Express. I've got a form for sellers to input their PayPal API credentials, but I need a way to validate them by making some sort of call to PayPal. I'm using the PaypalExpressGateway in…
Micah
  • 17,584
  • 8
  • 40
  • 46
5
votes
2 answers

Does ActiveMerchant support Subscription Based transaction

I am trying to integrate ActiveMerchant in my rails app. I have certain plans that if subscribed limit the user access. As you all guyz might be knowing what a subscription based app is, I am not going into explaining my app. Please suggest me some…
Rohit
  • 5,631
  • 4
  • 31
  • 59
5
votes
1 answer

rails payments through payumoney

I am trying to integrate payumoney payment gateway to my rails application. I added the gem active_merchant_payu_in ,but after this am unable to start the app..and getting this console error "warning: already initialized constant APP_PATH ".. I…
Abhilash
  • 2,864
  • 3
  • 33
  • 67
5
votes
1 answer

Adding an active merchant offsite payment gateway to spree commerce

I need to add the active merchant offsite payment gateway "Direct-Ebanking" / Sofortüberweisung.de to my Spree Commerce Project. However there seems to be close to NO documentation on how to do this. The best I could find is a link pointing to the…
mgreschke
  • 189
  • 10
5
votes
1 answer

"The token is invalid" when trying to setup Paypal recurring payments with ActiveMerchant

I feel like a lot of the documentation on this is outdated, but this is what I have been trying so far: I am using the ActiveMerchant::Billing::PaypalExpressGateway gateway. First I setup the purchase and redirect the user to Paypal: response =…
Logan Serman
  • 29,447
  • 27
  • 102
  • 141
5
votes
1 answer

Error Rails - libxml-Ruby

I've been struggling with this error installing libxml-ruby while setting up my active merchant git. I've Googled all the components of the error many times, but I'm just not really sure what I'm looking at. There's a bunch of "no's" - anybody know…
Tommy Nicholas
  • 1,133
  • 5
  • 20
  • 31
5
votes
3 answers

String operation in ruby for credit card number

Working on a rails project where there's an order confirmation string with a credit card number with all but the last four digits starred out. What's the proper way to do a string substitution? What's the operation to get this credit_card_number =…
Kenji Crosland
  • 2,914
  • 6
  • 31
  • 40
5
votes
3 answers

Ruby on Rails and Paypal outside US

I'm using Rails 3.2.13 and I need to integrate with a payment gateway (preferably Paypal). I've seen the railscasts of Ryan using ActiveMerchant, but I can't get it to work (I'm located in Greece), the error says that the merchant is not available…
5
votes
2 answers

How to make a payment via Paymill using Ruby

I need to make a payment to Paymill and I want to be able to achieve this using the Ruby language. UPDATE: I did publicly release paymill_on_rails on github. It is a Paymill subscription system based on Rails 4.0.0 and paymill-ruby, running on…
Besi
  • 22,579
  • 24
  • 131
  • 223
5
votes
1 answer

Testing Paypal Express in ActiveMerchant

How can I test Paypal Express with ActiveMerchant in a Rails 3.2 app with rspec/capybara integration test?
robzolkos
  • 2,196
  • 3
  • 30
  • 47
5
votes
2 answers

Debugging ActiveMerchant; need full request and response. How to?

Rails 3.0.10 and activemerchant gem 1.29.3 My app works fine in sandbox, but transactions in production mode are failing with "Security header is not valid", "ErrorCode"=>"10002" We initiated a support request with paypal, after reviewing all the…
wkhatch
  • 2,664
  • 7
  • 36
  • 45
5
votes
2 answers

What is the best payment gateway to use with ActiveMerchant?

I need to set up a payment solution within one of our Rails apps using the ActiveMerchant library. Although this question is highly subjective, what are people experiences with the major gateways out there (BrainTree, Authorize.net etc)? It…
joshnesbitt
  • 115
  • 1
  • 7
4
votes
1 answer

Testing ActiveMerchant with cucumber/capybara

How do I test Paypal Express Gateway with cucumber(with capybara) and activemerchant. I have ActiveMerchant in test mode, and I'm wanting to test the process of testing out my shopping cart. Eventually want to use VCR as well. Any tips or pointers…
robzolkos
  • 2,196
  • 3
  • 30
  • 47
4
votes
2 answers

Active Merchant - uninitialized constant ActiveSupport::XmlMini_REXML::StringIO

I have activemerchant 1.16.0 and rails 3.0.5. I am trying to build a basic code to communicate with PayPal's gateway using active merchant. if credit_card.valid? # or gateway.purchase to do both authorize and capture response =…
harsha
  • 41
  • 2
4
votes
1 answer

Getting ARB subscription information from Authorize.net using Active Merchant?

I'm trying to write a test to verify the start date and interval of an Authorize.net ARB subscription created via Rails + Active Merchant. I can successfully create the sub using response = GATEWAY.recurring(...) and a I get a success code. After…
deb
  • 12,326
  • 21
  • 67
  • 86
1
2
3
20 21