activemerchant

API Signature is required to make requests to PayPal error, I have an API signature set already

╄→尐↘猪︶ㄣ 提交于 2019-12-22 00:06:19
问题 I'm having a big problem right now. My site is written in Ruby on Rails, and I'm using the active merchant gem to interface with PayPal. The site is hosted on heroku. I have an API key and API signature set as config variables in my heroku app. However, I still get the error: Running: rake assets:precompile (in /tmp/build_3pvaswdp7wvca1) rake aborted! An API Certificate or API Signature is required to make requests to PayPal (See full trace by running task with --trace) I can run heroku run

How do I enable a third party payment gateway which Shopify does not want to support?

女生的网名这么多〃 提交于 2019-12-13 08:17:10
问题 Same as this question which got an accepted answer, but the only answer doesn't cover plan B - what if Shopify rejects to support the integration submitted to ActiveMerchant? I'm tagging javascript here because I have a feeling that the solution probably entails coding the entire thing in client-side javascript code assuming this can be done safely 回答1: You might want to consider adding your gateway as an off-site payment? As per iframes or embedded JS inside Shopify's PCI compliant checkout

ActiveMerchant: Buyer Account Balance Doesn't Decrease

廉价感情. 提交于 2019-12-11 23:32:42
问题 I'm using ActiveMerchant gem with Ruby 1.9.3 and Rails 3.1 I already set up a buyer dummy account and a seller dummy account on PayPal using WebPayments Pro. When I run this script and look in my paypal sandbox, my seller account is deposited $10 in funds correctly. The problem is that when I look at the sandbox for my buyer account, the balance does not decrease. Where is my seller getting the money from? My code is here: require "rubygems" require "active_merchant" ActiveMerchant::Billing:

Integrate nodejs with ruby for payment processing

坚强是说给别人听的谎言 提交于 2019-12-11 08:26:22
问题 I'm building a new website from scratch (no legacy code) that is basically a blog/wiki/forum/ecommerce kind of thing, but I have a lot of custom things I want, and I'm willing to put in the effort to build them when I have to. I'm not really satisfied with the shopping carts out there, I don't want to use php, and I think there are a lot of great new technologies I'd like to use with my eye on the future. Specifically, I'd like to use Node.js and MongoDB. My big sticking point that is holding

No Token Passed PayPal Express Checkout in Rails 5

帅比萌擦擦* 提交于 2019-12-11 03:47:44
问题 I'm putting together a basic shopping cart with PayPal Express Checkout functionality. Everything appears to be working until I click on the checkout button, then I get a blank page that says "no token passed". In the server logs it appears that no token is being created but I'm not sure why. I think that this is most likely a problem with the creation of the express checkout token but I'm really not sure what I'm doing wrong. Here is what the server log looks like: Started GET "/express

Fail:(TESTMODE) Transactions of this market type cannot be processed on this system

你。 提交于 2019-12-10 23:49:43
问题 I have created a test account with Authorize.net and am using ActiveMerchant to process credit card payments for a website. What error I always get is Error#*87 - "Transactions of this market type cannot be processed on this system" mentioned in ActiveMerchant documentations. Any suggestions how to resolve this error ? Following is how i created my gateway. I also checked gateway.test? and it returns true. gateway = ActiveMerchant::Billing::Base.gateway(:authorized_net).new( :login =>'API

how to implement a payment system in rails [closed]

一世执手 提交于 2019-12-06 21:27:00
问题 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 5 years ago . 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

Etsy-like marketplace with Activemerchant? (Rails)

a 夏天 提交于 2019-12-06 07:40:56
I am in the early stages of integrating a vendor marketplace (similar to Etsy, but for a very niche demographic) into an online community. I envision a platform that allows vendors to sign up and post goods for sale, with all transactions handled through the platform. Payments would be made from the consumers directly to the Paypal accounts of the vendors. A processing fee would be incurred for each transaction, with the sum of all fees billed to the vendors at the end of each 30 day period. I have briefly looked into Activemerchant, though I feel as though it may be the right tool for the job

setting tax amount in Active Merchant / PayPal Express Checkout

三世轮回 提交于 2019-12-06 06:23:25
问题 I need to know how to pass a tax amount to PayPal Express Checkout using Active Merchant and rails. Everything is working (completing transations) except I can't figure out for the life of me how to set the tax. Thanks for your help! 回答1: This is how its done. the following code will setup a paypal express purchase for 2 items that have different prices (5 and 10 $), plus added taxes (50 cents) and with no shipping or handling cost. response = YOUR_PAYPAL_GAETWAY_NAME.setup_purchase(1550,

Accepting dummy credit cards on a live site with ActiveMerchant & PayPal

自闭症网瘾萝莉.ら 提交于 2019-12-05 07:21:37
问题 I'm setting up a rails site that will accept credit cards with ActiveMerchant and PayPal Website Payments Pro. I am successfully testing against the PayPal sandbox, but need to be able to test on my live site as well. I'd like to implement a solution whereby registrations on my live site with email addresses from my own domain use the PayPal sandbox, but for everyone else it uses the live PayPal site. That way when I test my live site I'm not paying myself and getting taxed by PayPal in the