Closed (outdated)
Project:
Ubercart Barclays EPDQ payment gateway
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2010 at 18:03 UTC
Updated:
12 Apr 2020 at 14:57 UTC
Jump to comment: Most recent
Comments
Comment #1
aosiname commentedThere may be a way to do this without using my code. I believe in Ubercart you can swap round which appears first - billing or delivery address.
Dunno if it will work but its worth a try.
Comment #2
geodaniel commentedComment #3
knigh7 commentedI agree I think this is a bug
it send the delivery address instead, what I have done is replace lines 172 to 186
and it worked like a charm
$data['epdqdata'] = str_replace(' $data['epdqdata'] = str_replace('">', '', $data['epdqdata']);
$data['cpi_logo'] = 'secure_JPEG/GIF/PNG_URL';
$data['returnurl'] = variable_get('uc_epdq_returnurl', '');
$data['merchantdisplayname'] = variable_get('uc_epdq_merchantdisplayname', '');
$data['baddr1'] = $order->billing_street1;
$data['baddr2'] = $order->billing_street2;
$data['bfullname'] = $order->billing_first_name .' '. $order->billing_last_name;
$data['bcity'] = $order->billing_city;
$data['bpostalcode'] = $order->billing_postal_code;
$data['bcountry'] = $order->billing_country; //$country[0]['country_iso_code_2'];
$data['btelephonenumber'] = $order->billing_phone;
$data['email'] = $order->primary_email
Comment #4
avpadernoI am closing this issue, since it's for a Drupal version no longer supported.