Error in PayPal NVP ExpressCheckout with Zend Framework
If you are using classes from Zend Framework Laboratory for PayPal integration (which is somewhat unfinished) you probably will have an error when trying
Zend_Service_Paypal::setExpressCheckout();
The error has strange description ‘Security header is not valid’ and not listed in PayPal documentation.
To fix the error you’ll have to change line in Zend/Service/PayPal.php (in Laboratory tree)
const SERVICE_URI = 'https://api-3t.sandbox.paypal.com/nvp';
to
const SERVICE_URI = 'https://api-3t.paypal.com/nvp';
March 24th, 2010 at 12:32 pm
many thanks!