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.
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/