the first error looks like it is occurring when you are using Express checkout.
In the express checkout chain, there are three server behavior's:
authorize Paypal Express Checkout - checkout.php
Get Payer profile - pp_confirm.php
Process PayPal Express Checkout - pp_confirm.php
the error is saying that the API Information used in the authorize Paypal Express Checkout server behavior is not the same api information as in the Get Payer profile or Process PayPal Express Checkout behaviors on the pp_confirm.php page.
The other error you are getting is saying that you account is not properly configured for direct payments, contact payapl to see why your account is not properly configured.