Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6580747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:03:58+00:00 2026-05-25T16:03:58+00:00

I signed up for a test account with Authorize.net because you can’t do test

  • 0

I signed up for a test account with Authorize.net because you can’t do test transaction with the CIM service except through a test account.

I am using ActiveMerchant::Billing::AuthorizeNetCimGateway, which works fine with my regular account. However using my test account api login info, I get the following error:

"message"=>{"code"=>"E00007", "text"=>"User authentication failed due to invalid authentication values."}

What am I doing wrong? I’ve read through the active merchant source and have found the following lines which indicate that maybe it is sending to the wrong api url:

  self.test_url = 'https://apitest.authorize.net/xml/v1/request.api'
  self.live_url = 'https://api.authorize.net/xml/v1/request.api'

As far as I can tell, there is no way to configure which url is used, but I’ve found this line:

url = test? ? test_url : live_url

which seems to set the var, only the method test? isn’t defined anywhere so I can’t see how to set it.

I’m confused. Anyone able to connect to their test account via AIM?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:03:58+00:00Added an answer on May 25, 2026 at 4:03 pm

    Found how to make this work in case anyone cares, or can use this info:

    https://github.com/moklett/active_merchant/commit/4784e80d05f241b02dd9e7eb5957778cc91eee57#commitcomment-593814

    http://groups.google.com/group/activemerchant/browse_thread/thread/173ee6554498b20a/cc91dbe2fda51dd6

    ActiveMerchant::Billing::Base.gateway_mode = :test #detaults to :production, and will use test server

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found this: ASP.NET forms authentication - auto login with a test account while
I'm trying to test a secure http connection using self signed certificates... just for
I signed up for the iPhone Developer Program (now awaiting approval) using a new
I want to AdHoc test an application. My client owns an Apple account and
I've just signed up for the Google group entitled Test Driven Development but it's
I have built a test android app and signed it successfully and then sent
I'm building a .net web app and using Forms authentication with cookies to remember
I need to verify a signed jar from my application. I found I can
I have this C code: int test(signed char anim_col) { if (anim_col >= 31)
I'm working through the railstutorial.org book, chapter 9. When running the test suite, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.