rah...@gmail.com
unread,Apr 25, 2008, 6:41:35 PM4/25/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Active Merchant
I got the weirdest problem using Payflow Pro. I'm running a standard
test setup but I keep getting back 'user authentication failed'.
This is how the gateway is setup:
gateway = ActiveMerchant::Billing::PayflowGateway.new(
:login => 'my_vendor_name', :password => 'mypassword'
)
I also setup a dummy credit card object with no problem.
However, when I do:
gateway.authorize(100,credit_card)
I'll get:
#<ActiveMerchant::Billing::PayflowResponse:0x1b74f70 @test=true,
@authorization=nil, @success=false, @cvv_result={"message"=>nil,
"code"=>nil}, @fraud_review=nil, @message="User authentication
failed", @avs_result={"message"=>nil, "code"=>nil,
"street_match"=>nil, "postal_match"=>nil}, @params={"message"=>"User
authentication failed", "result"=>"1", "partner"=>"paypal",
"vendor"=>"my_vendor_name"}>
I know Paypal Payflow Manager accounts have user accounts with
passwords for each user. I also know that the password I'm using in my
gateway setting is the Paypal Transaction password.
Am I suppose to put the username and password for a user somewhere
else outside of where I define the gateway?
Thanks to anyone who has an idea of what's happening. The setup worked
before, but I have to be sure I'm not missing something.