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.
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.
> 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.
I am getting the same error -- but can't seem to get around it so
easily.
I have :
OrderTransaction.gateway =
ActiveMerchant::Billing::CyberSourceGateway.new(
:login => 'v1002822',
:password => 'my_password',
:test => true,
:vat_reg_number => 'your VAT registration number',
# sets the states/provinces where you have a physical presense for
tax purposes
:nexus => "GA OH",
# don‘t want to use AVS so continue processing even if AVS would
have failed
:ignore_avs => true,
# don‘t want to use CVV so continue processing even if CVV would
have failed
:ignore_cvv => true
)
and the following:
process('authorization', amount) do |gw|
gw.authorize(amount, credit_card, options)
end
where credit_card is a valid activeMerchant::billing:creditCard object
amount and options have their correct values.
i get the error: wsse:FailedCheck: Security Data : UsernameToken
authentication failed.
i am totally confused with this. any thoughts? I know i should use the
xxx.p12 file that CyberSource gave me, but I can't find any
documentation to teach me how to do this. how do i get to that
generated transaction key? is there a special ssl channel we use to
connect?
> On May 12, 10:58 am, "Cody Fauser" <codyfau...@gmail.com> wrote:
> > 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.
> On May 12, 10:58 am, "Cody Fauser" <codyfau...@gmail.com> wrote:
> > 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.
Part of the problem is that cybersource documentation says:
After you have the security key file or certificate files on your
system, follow
the instructions of your shopping cart provider to integrate these
files with your
shopping cart.
So, I guess it is ActiveMerchant documentation I am looking for?
best,
tim
On May 28, 9:42 pm, TimBooher <a...@theboohers.org> wrote:
> I am getting the same error -- but can't seem to get around it so
> easily.
> I have :
> OrderTransaction.gateway =
> ActiveMerchant::Billing::CyberSourceGateway.new(
> :login => 'v1002822',
> :password => 'my_password',
> :test => true,
> :vat_reg_number => 'your VAT registration number',
> # sets the states/provinces where you have a physical presense for
> tax purposes
> :nexus => "GA OH",
> # don‘t want to use AVS so continue processing even if AVS would
> have failed
> :ignore_avs => true,
> # don‘t want to use CVV so continue processing even if CVV would
> have failed
> :ignore_cvv => true
> )
> and the following:
> process('authorization', amount) do |gw|
> gw.authorize(amount, credit_card, options)
> end
> where credit_card is a valid activeMerchant::billing:creditCard object
> amount and options have their correct values.
> i get the error: wsse:FailedCheck: Security Data : UsernameToken
> authentication failed.
> i am totally confused with this. any thoughts? I know i should use the
> xxx.p12 file that CyberSource gave me, but I can't find any
> documentation to teach me how to do this. how do i get to that
> generated transaction key? is there a special ssl channel we use to
> connect?
> v/r,
> Tim
> On May 14, 2:37 pm, supermons...@gmail.com wrote:
> > Thanks Cody.
> > It was the problem exactly.
> > On May 12, 10:58 am, "Cody Fauser" <codyfau...@gmail.com> wrote:
> > > 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.
> On May 14, 2:37 pm, supermons...@gmail.com wrote:
> > Thanks Cody.
> > It was the problem exactly.
> > On May 12, 10:58 am, "Cody Fauser" <codyfau...@gmail.com> wrote:
> > > 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.
You don't need the p12 file. That is for another CyberSource API. You need to generate an API transaction key in the business center and use that as the password.
On Wed, May 28, 2008 at 9:42 PM, TimBooher <a...@theboohers.org> wrote:
> I am getting the same error -- but can't seem to get around it so > easily.
> I have :
> OrderTransaction.gateway = > ActiveMerchant::Billing::CyberSourceGateway.new( > :login => 'v1002822', > :password => 'my_password', > :test => true, > :vat_reg_number => 'your VAT registration number', > # sets the states/provinces where you have a physical presense for > tax purposes > :nexus => "GA OH", > # don't want to use AVS so continue processing even if AVS would > have failed > :ignore_avs => true, > # don't want to use CVV so continue processing even if CVV would > have failed > :ignore_cvv => true > ) > and the following: > process('authorization', amount) do |gw| > gw.authorize(amount, credit_card, options) > end
> where credit_card is a valid activeMerchant::billing:creditCard object > amount and options have their correct values.
> i get the error: wsse:FailedCheck: Security Data : UsernameToken > authentication failed.
> i am totally confused with this. any thoughts? I know i should use the > xxx.p12 file that CyberSource gave me, but I can't find any > documentation to teach me how to do this. how do i get to that > generated transaction key? is there a special ssl channel we use to > connect?
> v/r,
> Tim
> On May 14, 2:37 pm, supermons...@gmail.com wrote: >> Thanks Cody. >> It was the problem exactly.
>> On May 12, 10:58 am, "Cody Fauser" <codyfau...@gmail.com> wrote:
>> > 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.
> On May 14, 2:37 pm, supermons...@gmail.com wrote: >> Thanks Cody. >> It was the problem exactly.
>> On May 12, 10:58 am, "Cody Fauser" <codyfau...@gmail.com> wrote:
>> > 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.
Wow -- so seldom have so few words saved a man so much time. thank you
so much, I was going down the completely wrong direction.
One last problem: Since cybersource measures in dollars, is there an
elegant way to covert in my amount. Per the peepcode, I am loading an
amount in cents, so I multiply my amount by 100, this naturally works
but then I have a total amount in my reports in the thousands. I can
divide again by 100, but I am sure there is a better way.
best,
tim
On May 28, 11:09 pm, "Cody Fauser" <codyfau...@gmail.com> wrote:
> You don't need the p12 file. That is for another CyberSource API. You
> need to generate an API transaction key in the business center and use
> that as the password.
> On Wed, May 28, 2008 at 9:42 PM, TimBooher <a...@theboohers.org> wrote:
> > I am getting the same error -- but can't seem to get around it so
> > easily.
> > I have :
> > OrderTransaction.gateway =
> > ActiveMerchant::Billing::CyberSourceGateway.new(
> > :login => 'v1002822',
> > :password => 'my_password',
> > :test => true,
> > :vat_reg_number => 'your VAT registration number',
> > # sets the states/provinces where you have a physical presense for
> > tax purposes
> > :nexus => "GA OH",
> > # don't want to use AVS so continue processing even if AVS would
> > have failed
> > :ignore_avs => true,
> > # don't want to use CVV so continue processing even if CVV would
> > have failed
> > :ignore_cvv => true
> > )
> > and the following:
> > process('authorization', amount) do |gw|
> > gw.authorize(amount, credit_card, options)
> > end
> > where credit_card is a valid activeMerchant::billing:creditCard object
> > amount and options have their correct values.
> > i get the error: wsse:FailedCheck: Security Data : UsernameToken
> > authentication failed.
> > i am totally confused with this. any thoughts? I know i should use the
> > xxx.p12 file that CyberSource gave me, but I can't find any
> > documentation to teach me how to do this. how do i get to that
> > generated transaction key? is there a special ssl channel we use to
> > connect?
> > v/r,
> > Tim
> > On May 14, 2:37 pm, supermons...@gmail.com wrote:
> >> Thanks Cody.
> >> It was the problem exactly.
> >> On May 12, 10:58 am, "Cody Fauser" <codyfau...@gmail.com> wrote:
> >> > 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.
> > On May 14, 2:37 pm, supermons...@gmail.com wrote:
> >> Thanks Cody.
> >> It was the problem exactly.
> >> On May 12, 10:58 am, "Cody Fauser" <codyfau...@gmail.com> wrote:
> >> > 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.