Shopify/active_merchant — Issue #209: Undefined Method "store" for Active Merchant :: Billing :: BeanStreamGateway
Author: jah2488
Created: 2011-10-21 02:32:29+00:00
State: open

I'm trying to setup secure payment profiles through the Beanstream gateway, but I'm being told the method doesn't exist, when it does right there in the source code. Has anyone else dealt with a similar issue?

def self.build_payment_profile(credit_card, options ={})
response = GATEWAY.store(credit_card, options)
binding.pry if Rails.env.development? #TODO: Evaluate response, return true, redirect user to success page.
end

My method above gives me the following error.

NoMethodError: undefined method `store' for #
from /app/models/order.rb:16:in `build_payment_profile'

To make matters more confusing, when I cd "into" the GATEWAY global variable using pry and list all available methods. It lists only these.

:1> ls -a
authorize interac purchase void build_response

Is there something that I am missing from my configuration file to include those methods?