Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As long as client email is required for any operation:
http://apps.cybersource.com/library/documentation/sbc/api_guide/html/cre...
and email is not set in anonymous orders:
/* File uc_order.module */
function uc_order_new($uid = 0, $state = 'in_checkout') {
$order = new stdClass();
if ($uid > 0) {
$user = user_load(array('uid' => $uid));
$email = $user->mail;
}
........
$order->primary_email = $email;
........
}
/* File uc_cybersource.module*/
function _uc_cybersource_soap_charge($order, $amount, $data, $cc_type, $country) {
................
$billTo->email = $order->primary_email;
$billTo->customerID = $order->uid;
$request->billTo = $billTo;
..............
}
it is not possible to purchase anonymously with CyberSource gateway.
I think the best choice is to add an email field to the billing form, but it will require some database changes.
Comments
Comment #1
jherencia CreditAttribution: jherencia commentedComment #2
jherencia CreditAttribution: jherencia commentedIt works if you activate the "Customer information" checkout pane.