On line 857 of ec_paypal.module the method ec_paypal_api_comms is calling url() and passing the query string as the 2nd parameter.

$url = url(ec_paypal_variable_get('ec_paypal_api_url', 'https://api-3t.paypal.com/nvp'), ec_receipt_query_string_encode($values));

As far as i can tell, this is how url() was coded in e-commerce 3, for version 4 the 2nd parameter should be an array, and this call should look something like this.

$url = url(ec_paypal_variable_get('ec_paypal_api_url', 'https://api-3t.paypal.com/nvp'), array('query' => ec_receipt_query_string_encode($values)));

Comments

gordon’s picture

Status: Active » Fixed

Thanks I have fixed this. It will be in the rc release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.