Setting up paypal payflow pro on magento 2 in sandbox mode

cmartin5523
Contributor
Contributor

Hi,

I'm trying to setup paypal payflow pro on magento 2 but it seems that after I checkout I get the following error: 'Invalid vendor account'.  I searched and found that this is basically a credential error.  I am in sandbox mode and it works fine for paypal express.  Can someone let me know if I should be putting sandbox value or real paypal values in the fields for:

Email Associated with PayPal Merchant Account

User

Vendor

Password

 

Also, is the 'User' the actual user id that is used to login to paypal?

Is the 'Vendor' same as merchant id#?

Is 'Password' the same password to login into paypal?

 

https://prnt.sc/s3lqhf

 

Thanks

Login to Me Too
10 REPLIES 10

MTS_Jennifer
Moderator
Moderator

Hello,

Thank you for posting to the PayPal Merchant Community.

You can receive Invalid Vendor for numerous reasons including the following:

Payflow Account Not setup for testing (log into your PayPal Manager account  and make sure that it shows that it is in Test

Invalid Credentials

Your credentials should be the following:

Partner = PayPal (If US Account and PayPal is your Processor)

Vendor = (Merchant login, not email address)

User = (Merchant login, if no user Created not an email address)

PW = (Password associated with the user)

Thank you,

Jennifer

PayPal

 

 

Login to Me Too

cmartin5523
Contributor
Contributor

Hi,

 

we determined that a paypal payflow account had not been setup for the customer but then even after setting up the paypal payflow account(and even using the account in production mode), we could not get the account to work (still got spinning prelorder on checkout page and did not advance to successful order page.) To rule out the issue of the website being the problem, I tried a different paypal payflow account on the same website and I was able to checkout successfully.  Who from paypal can look into this issue to make sure the newly created paypal payflow account is set up properly as the paypal payflow account not working  is holding us back from launching the site. 


Thanks

Login to Me Too

cmartin5523
Contributor
Contributor

On a sidenote, the paypal express portion is working, its just that the credit card part of the paypal payflow account is not working.

Login to Me Too

cmartin5523
Contributor
Contributor

I also checked paypal manager and confirmed that the test account is active for testingpaypal.png

Login to Me Too

MTS_Jennifer
Moderator
Moderator

Hello,

If you are using Magento 2.x to process payments and you keep getting a spinning wheel for direct credit cards, its very possible that Reference Transactions is not enabled.

 

On Sandbox Accounts we can enable reference transactions, if you comment the Merchant ID for the Sandbox account then I can ensure that Reference Transactions is enabled.

 

Thank you,

Jennifer

PayPal

Login to Me Too

cmartin5523
Contributor
Contributor

I'm sorry but  I do not know what you mean by 'comment the Merchant Id'.  Also, as mentioned on previous post that a different paypal payflow account was used on the same website and it worked so I think the issue is actually the account itself rather than the website.  I have another case open with paypal support and he mentioned that he  retoggled the account and to test again in an hour.  I did that and still got a spinning preloader on checkout page and was not redirected to the successful order page.

 

Login to Me Too

MTS_Jennifer
Moderator
Moderator

Hello,

Magento 2.x has several requirements to ensure that you can process payments. If you have a Sandbox Pro account attached to your PayPal Manager, it needs to have Reference Transactions Enabled in order for you to use the Sandbox Account.

In order for me to ensure that Reference Transactions is Enabled on your Sandbox Account, I need the merchant id from that account.

Here are the steps:

  • Go to https://sandbox.paypal.com
  • Log into your Pro Sandbox Account using your Sandbox email and Sandbox password
  • Click on the settings Icon to the left of Log out
  • Choose Account Settings
  • Click on Business information
  • Under Business information it will show an alpha numeric number for your sandbox account's PayPal Merchant ID

Thank you,

Jennifer

PayPal

Login to Me Too

cmartin5523
Contributor
Contributor

Hi,

I was able to resolve the issue but now I am receiving the following error: 

'RESPMSG' => 'Invalid merchant information: 10548-This transaction cannot be processed. The merchant\'s account is not able to process transactions.',

 

Login to Me Too

cmartin5523
Contributor
Contributor

When a set paypal payflow pro to 'live' mode, I get the following error: 'RESPMSG' => 'Declined: 10626-Transaction refused due to risk model',

Login to Me Too

Haven't Found your Answer?

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