CustomerEMail field empty

Permalink Browser Info Environment
Hi,

I have used this plugin on a couple of sites. They are working well but I have just noticed that the 'CustomerEMail' that is passed to SagePay is always blank.

The email address gets saved to the order in C5 though.

Any ideas how I can fix this?

Thanks!

Type: Discussion
Status: In Progress
ZunaWeb
View Replies:
datasouth replied on at Permalink Reply
datasouth
Hi,

Thanks for this information. We'll have a look into this.

Thanks,
datasouth replied on at Permalink Reply 1 Attachment
datasouth
Dear ZunaWeb,

Thank you for your enquiry. The Sage Pay plugin should parse the email address directly to Sagepay. Please see attached screenshot(We did a test checkout and printed out the parameters being passed to Sagepay).

Please can you confirm that you are using the correct 'email' field on the Billing Information and have not customised the shopping cart in some way?

Thanks,
John
ZunaWeb replied on at Permalink Reply
ZunaWeb
Thank you for your reply.

From what I can see it is still using the standard 'oEmail' field on the
billing information page.

There are a couple of small customisations, e.g. changing the label text on
a couple of fields. I don't think that will make a difference but will try
removing the overrides to see if that helps.

On 8 July 2015 at 12:22, concrete5 Community <discussions@concretecms.com>
wrote:
datasouth replied on at Permalink Reply
datasouth
Hi ZunaWeb,

Any news on this?

This seems weird since it's correctly passing the parameters over to Sage Pay. May we know what browser you are currently using as this may be a browser issue.

Thanks,
John
ZunaWeb replied on at Permalink Reply
ZunaWeb
Hi John,

Still no luck, I removed the overrides that I had in place and cleared the cache then tried again. I echoed out the $cryptString to confirm what was being passed, here is what I got (I have changed client details to 'abcd' in the following string):

VendorTxCode=abcd&ReferrerID=&Amount=12.75&Currency=GBP&Description=Purchase from abcd&SuccessURL=http://abcd.co.uk/index.php/tools/packages/core_commerce/payment_method_action?paymentMethodID=6&action=notify_success&FailureURL=http://abcd.co.uk/index.php/tools/packages/core_commerce/payment_method_action?paymentMethodID=6&action=notify_fail&CustomerName=&CustomerEMail=&VendorEMail=info@abcd.co.uk&SendEMail=&eMailMessage=&BillingSurname=Illum&BillingFirstnames=Accusamus&BillingAddress1=1&BillingAddress2=Incidunt&BillingCity=3&BillingPostCode=abcd&BillingCountry=GB&BillingState=&BillingPhone=Officia&DeliverySurname=Illum&DeliveryFirstnames=Accusamus&DeliveryAddress1=1&DeliveryAddress2=Incidunt&DeliveryCity=3&DeliveryPostCode=abcd&DeliveryCountry=GB&DeliveryState=&DeliveryPhone=Officia&Basket=&AllowGiftAid=&ApplyAVSCV2=&Apply3DSecure=&BillingAgreement=&BasketXML=Manchego cheese wedge 250g3116.750.006.756.756.000.006.00 &CustomerXML=&SurchargeXML=&VendorData=&ReferrerID=&Language=&Website=
abcd

I have tried in the latest versions of Chrome and Firefox. But all transactions since installing the plugin have had the email address missing (over a dozen live purchases), I previously had another SagePay plugin installed (using v2.23) which was sending the email address, so I am at a loss to see what the problem may be.

Any advice would be great.

Thanks
TMDesigns replied on at Permalink Reply
TMDesigns
Hi,

I am also having this problem, Sagepay have asked this.

"Please set it so that they (Sagepay) get sent the customer's e-mail as well, his quote was change the "send-email flag' from 2 to 1 (send customer and vendor e-mails)."

concrete5 Environment Information

# concrete5 Version
5.6.3.3

# concrete5 Packages
eCommerce (2.8.12), Sage Pay eCommerce Payment Provider (0.9.3), SagePay Payment Gateway (0.5).

# concrete5 Overrides
blocks/search, blocks/product_list, blocks/cart_links, elements/product, helpers/states_provinces.php, models/attribute, single_pages/page_not_found.php, single_pages/billing.php, themes/Delicioso

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every minutes.

# Server Software
Apache/2.4.10 (Unix)

# Server API
cgi-fcgi

# PHP Version
5.4.36

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mhash, mssql, mysql, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, recode, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 32M
ldap.max_links - Unlimited
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.