I am using paypal pro in sandbox. when I send the request and in response I get this error:
Array ( [TIMESTAMP] => 2010%2d11%2d23T09%3a21%3a12Z [CORRELATIONI
I was having this same problem while trying to use the DoDirectPayment example on the sandbox using the provided API user/pass.
L_ERRORCODE0: 10501
L_SHORTMESSAGE0: Invalid Configuration
L_LONGMESSAGE0: This transaction cannot be processed due to an invalid merchant configuration.
I logged into my sandbox account, but there was no billing agreement to agree to. Trying to enable Website Payments Pro from there proved fruitless as well.
There seem to be a lot of issues with the Paypal sandbox right now, where test accounts are not populating with the right info. This 10501 problem is due to "Website Payments Pro" not being enabled on the account.
Contact customer support and they can enable it for you. They asked me to create a new test seller account so they could toggle it on.