Guest Posted January 8, 2010 Posted January 8, 2010 Anyone know how to do this? Name, Address, email address are all passed as default, but Customer Phone Number is not... Is it just as simple as changing: $plain = "VendorTxCode=" . MODULE_PAYMENT_PROTX_FORM_VENDOR_NAME . date('YmdHis') . $customer_id . "&"; $plain .= "Amount=" . number_format($order->info['total'] * $currencies->get_value($protx_currency), $currencies->get_decimal_places($protx_currency), '.', '') . "&"; $plain .= "Currency=" . $protx_currency . "&"; $plain .= "Description=" . "Goods bought from " . STORE_NAME . "&"; $plain .= "SuccessURL=" . tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', true) . "&"; $plain .= "FailureURL=" . tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', true) . "&"; $plain .= "CustomerName=" . $order->billing['firstname'] . ' ' . $order->billing['lastname'] . "&"; $plain .= "CustomerEmail=" . $order->customer['email_address'] . "&"; $plain .= "VendorEMail=" . STORE_OWNER_EMAIL_ADDRESS . "&"; to $plain = "VendorTxCode=" . MODULE_PAYMENT_PROTX_FORM_VENDOR_NAME . date('YmdHis') . $customer_id . "&"; $plain .= "Amount=" . number_format($order->info['total'] * $currencies->get_value($protx_currency), $currencies->get_decimal_places($protx_currency), '.', '') . "&"; $plain .= "Currency=" . $protx_currency . "&"; $plain .= "Description=" . "Goods bought from " . STORE_NAME . "&"; $plain .= "SuccessURL=" . tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', true) . "&"; $plain .= "FailureURL=" . tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', true) . "&"; $plain .= "CustomerName=" . $order->billing['firstname'] . ' ' . $order->billing['lastname'] . "&"; $plain .= "CustomerEmail=" . $order->customer['email_address'] . "&"; $plain .= "CustomerPhone=" . $order->customer['telephone'] . "&"; $plain .= "VendorEMail=" . STORE_OWNER_EMAIL_ADDRESS . "&"; ? (It would be handy if there was some mention of this on the SagePay web site....) Thanks in advance. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.