How to do PayPal Payflow Test Transactions?

9.7k Views Asked by At

I was trying to create Payflow Pro Sandbox account but i got to know that we have to use live account for testing. I created it by entering false credit card info but when i use false credit card information on click of 'Buy Now' Button it throws error "Credit card information is incorrect".

Can anybody help me in doing credit card test transactions through Payflow.

2

There are 2 best solutions below

2
On

If you're sure you have Live Payflow Pro credentials, you can simply submit your API calls to https://pilot-payflowpro.paypal.com instead of https://payflowpro.paypal.com

Note: As you mention 'Buy now button', I'd double-check your actually using Payflow Pro, since PayPal's standard buttons are referred to 'Buy now buttons' as well. For these, you would use the Sandbox at https://developer.paypal.com/ and https://www.sandbox.paypal.com/

2
On

You do not need a "paid" Payflow account for testing. Go here and select Payflow Pro. Don't let the $99 set-up fee scare you away. You will be able to create the account without paying for testing purposes. You can submit test payments and see the transactions appear in your transaction history. That way you can get your code working before taking the plunge in activating your account for real live payments.