Dirk
Dirk

Reputation: 427

PayPal ExpressCheckout (Payflow): Invalid vendor accountError Code: 26

This is driving me crazy! I can't get the PayPal express (Payflow?) api to work....

paypal sandbox tells me:

Test Account: [email protected]

API Username: AAAA.B_CCCCCCCCCC_biz_api1.XXXXX.com

API Password: DDDDDDDDDD

Signature: ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ

in the paypayfunctions.php i wrote:

$API_User="[email protected]";

$API_Password="DDDDDDDDDD";

$API_Vendor="[email protected]";

$API_Partner="PayPal";

...

And when I test the service, all i get is "SetExpressCheckoutDetails API call failed. Error Message: Invalid vendor accountError Code: 26"

The PayPal documentation and examples are terribly complex, all I want to do is having a simple button that links to paypal to start the payment of XXX euro's to account YYYY....

Can anyone help me?

Thanks in advance!

Upvotes: 3

Views: 6727

Answers (2)

jamserv
jamserv

Reputation: 1

Issue PayPal returned result code 26 - Invalid vendor account when processing a transaction.

Cause You may get result code 26 if:

  • You just activated your account.

A vendor account doesn't become active until at least an hour after it was created. Typically, a database update begins at 20 minutes past the hour and lasts about 20 minutes. If your account becomes active while the database is updating (after the 20-minute mark), you must wait until after the next hour's update before you can use it.

  • The login information is incorrect.

Verify the information you entered in the User, Vendor, Partner, and Password fields. Check that you sent the correct Partner value. The primary user's Merchant ID should be in the User field. For a secondary Payflow Pro user, the User field should contain the password assigned by the primary user. All fields are case-sensitive. **

  • The bank BIN number is unknown.

** For PayPal Australia (VSA) only, result code 26 indicates that the customer's credit card is issued by a credit union or small financial institution. The processor, FDRA, has no bank identification number (BIN) on file for the card, which triggers the error message,"No Universal Account - Response code 42." You must get another credit card or form of payment from your customer.

Solution Check that all values in use are both correct values and proper case (all values are case-sensitive).

Upvotes: 0

Niels van der Rest
Niels van der Rest

Reputation: 32184

Express Checkout and Payflow are two separate PayPal services. Your sandbox credentials (which include a signature) are for Express Checkout. The script asks for a partner, which is specific to Payflow.

  1. What do you want to use? Express Checkout or Payflow? See the paragraphs below for more information on the two.
  2. Are you sure the script is for Express Checkout?
  3. Is the script connecting to the sandbox or live API? The Express Checkout sandbox API is located at https://api-3t.sandbox.paypal.com/nvp.

Express Checkout is primarily used for payments using a PayPal account. You can set up a sandbox environment at developer.paypal.com. Within the sandbox you can create test accounts, at sandbox.paypal.com. See the PayPal API Reference for more details.

Payflow is a payment gateway that allows you to pay using a credit card or checks, among others. PayPal accounts are not supported by Payflow. You can sign up for an account, which can be used for testing and real payments after you upgrade the account. See the User's Guide for Payflow Link (PDF) for more details.

Upvotes: 6

Related Questions