diff --git a/code/plugins/ccavenue/ccavenue.php b/code/plugins/ccavenue/ccavenue.php index 8e3e31a..a890f7e 100644 --- a/code/plugins/ccavenue/ccavenue.php +++ b/code/plugins/ccavenue/ccavenue.php @@ -176,13 +176,13 @@ public function onTP_GetHTML($vars) // Notify URL set for notify url parameter of payment gateway $gatewaydata['notify_url'] = $vars->notify_url; - $gatewaydata['billing_name'] = $vars->userInfo['firstname'] . ' ' . $vars->userInfo['lastname']; + $gatewaydata['billing_name'] = $vars->user_firstname . ' ' . $vars->user_lastname; $gatewaydata['billing_address'] = $vars->userInfo['add_line1']; $gatewaydata['billing_city'] = $vars->userInfo['city']; $gatewaydata['billing_state'] = $vars->userInfo['state_code']; $gatewaydata['billing_zip'] = $vars->userInfo['zipcode']; $gatewaydata['billing_country'] = $vars->userInfo['country_code']; - $gatewaydata['billing_tel'] = $vars->phone; + $gatewaydata['billing_tel'] = $vars->userInfo['phone']; $gatewaydata['billing_email'] = $vars->user_email; $gatewaydata['currency'] = $vars->currency_code;