Closed (fixed)
Project:
e-Commerce
Version:
6.x-4.0-beta7
Component:
paypal
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2009 at 18:37 UTC
Updated:
9 Apr 2009 at 01:10 UTC
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
Comment #1
gordon commentedThanks I have fixed this. It will be in the rc release.