Index: branches/5.3.x/units/gateways/gw_classes/authorizenet.php =================================================================== diff -u -N -r15492 -r15695 --- branches/5.3.x/units/gateways/gw_classes/authorizenet.php (.../authorizenet.php) (revision 15492) +++ branches/5.3.x/units/gateways/gw_classes/authorizenet.php (.../authorizenet.php) (revision 15695) @@ -1,6 +1,6 @@ Conn->GetOne(' SELECT Email FROM '.$this->Application->getUnitOption('u', 'TableName').' - WHERE PortalUserId = '.$this->Application->RecallVar('user_id')); + $billing_email = $this->_getUserEmail(); } + $post_fields['x_email'] = $billing_email; $post_fields['x_phone'] = $item_data['BillingPhone'];