Payflow SDK v440 - how to setup sandbox?

Voytechs
New Community Member

Hello, I'm new to Payflow and I am trying to setup a sandbox so I can start testing. I am using the DOSaleComplete.java sample and with a sandbox that I am not sure is setup properly for payflow.

 

When I create a new sandbox account the credentials generated are not accepted by the payflow API. 

 

Here is how I setup the credentials which I looked up on Account Details -> API Credentials page. USERNAME and PASSWORD are specified, VENDOR and PARTNER are empty strings "".

UserInfo user = new UserInfo(USERNAME, VENDOR, PARTNER, PASSWORD);

 

I get the following error message after the submitTransaction() call:

 

Result Code (RESULT) = 26
Response Message (RESPMSG) = Invalid vendor account

 

I'm sure I have something backwards here. Just need a nudge in the right direction. Thanks for your help.

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.