When passing the correct informations like vendorName,Partner,Password via xml to pilot-payflowpro account , it throws an user Authentication failed error. Attached is the xml that is getting sent .

The xml is also tested in the payflowpro debug page and It also throws the same User Authentication failed error.

CommentFileSizeAuthor
#6 payflowpro.txt2.31 KBmcabalaji
payflowpro.txt2.3 KBmcabalaji

Comments

kwinters’s picture

You mentioned that you thought the cert path might be an issue. To test that, add some debug output to _uc_payflowpro_submit_xml after $certpath is defined:

var_dump($certpath, file_get_contents($certpath));  

That should let you know if the file is readable by the server.

I still think the problem is the partner / user / password for the gateway, because that's what "Authentication Error" means. If the problem was the cert, it shouldn't even get that far. Re-enter all of that info (watching out for trailing spaces, etc.) and confirm that you can log into manager.paypal.com with the same info. There could also be some IP lock, etc. in place preventing you from using the account.

mcabalaji’s picture

Hi

I could login with the same info that is in the attached xml file in to the manager.paypal.com and also create transaction via virtual terminal , Yes Initially I was getting certification issue that got solved when i gave absolute path in the settings page like (c:/xampp/htdocs).

If could see the xml , The values getting passed or Vendor,Partner and Password , the user is empty . But when I login into manager.paypal.com also i given only Partner,Merchant and Password as user Information is not a required field , is passing user tag empty in the xml will cause any issue , Please clarify

kwinters’s picture

Most sites have an empty "user" field and just use the main vendor login. The "user" field is for accounts with multiple users.

Are you using Windows? Configuration seems to be significantly more difficult on a Windows box, and Linux or Mac is highly recommended.

There are 2 successful transactions in your daily activity report. Were those made through Drupal or the virtual terminal?

mcabalaji’s picture

They were made through virtual terminal , I also have an ubuntu box which also have same issue User Authentication failed error

mcabalaji’s picture

In Ubuntu Machine I tried to setting the certification information path like (/var/www/cacert.pem) and as well as (../cacert.pem) and on both the time , I get the same User authentication failed error .

mcabalaji’s picture

Status: Active » Fixed
StatusFileSize
new2.31 KB

Hi

You need to add the username in the xml (you need add the vendorName here again inside User Tag) , if the user tag is empty it will throw you back "User Authentication " Failed , So adding the value in the user solved my issue . I am attaching the working xml with this for others to check

kwinters’s picture

Just to confirm, the issue is that it works when User and Vendor are filled in, but not when just Vendor has been entered? I may end up making a documentation change.

mcabalaji’s picture

Yes absolutely ,

The user to needs to fill in both the User and Vendor to make the pay flow pro connection work. In short user needs to fill in all the 4fields , so making the 4fields(Partner,Vendor,User,Password) would be ideal.

kwinters’s picture

Title: User Authentication Failed » Gateway Settings Form Usability Issues
Component: Code » User interface
Assigned: Unassigned » kwinters
Category: bug » task
Priority: Critical » Normal

Added the following validation checks:

* cert path specified exists and is readable by PHP
* partner / vendor / password filled in
* if user is empty, set user to vendor
* help text changes

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mcabalaji’s picture

Issue summary: View changes