Google Groups Home
Help | Sign in
Message from discussion Authentication failed with Cybersource
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Cody Fauser  
View profile
 More options May 12, 1:58 pm
From: "Cody Fauser" <codyfau...@gmail.com>
Date: Mon, 12 May 2008 13:58:33 -0400
Local: Mon, May 12 2008 1:58 pm
Subject: Re: [Active Merchant] Authentication failed with Cybersource
Andy,

Are you using a test account or live production account and are you
using the correct corresponding gateway mode in ActiveMerchant? The
default mode in ActiveMerchant is production.

On Mon, May 12, 2008 at 12:17 PM,  <supermons...@gmail.com> wrote:

>  Hi,

>  I have a cybersource account and I am trying to use ActiveMerchant
>  with it. I generated a transaction security page under my account and
>  used it in my purchase request.

>  Here is what I do.

>  @gateway_login = <my merchant id>
>  @gateway_pass = <generated transaction key>
>  @order_id = self.current_user.login + '@' + Time.now.to_s
>  @card = ActiveMerchant::Billing::CreditCard.new(params[:card])
>  gateway = ActiveMerchant::Billing::CyberSourceGateway.new(:login =>
>  @gateway_login, :password => @gateway_pass)
>  gateway_response = gateway.purchase(100, @card, :order_id =>
>  @order_id, :email => self.current_user.email)

>  And here is the response I got.
>  wsse:FailedCheck: Security Data : UsernameToken authentication failed.

>  Am I missing some setup?  Also, is there a way to look at the SOAP
>  message being sent to their server?

>  Thanks
>  Andy

--
Cody Fauser
http://shopify.com - e-commerce done right
http://www.codyfauser.com - blog
http://peepcode.com/products/activemerchant-pdf - ActiveMerchant PeepCode
http://www.oreilly.com/catalog/rjsrails - RJS Templates for Rails

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google