Sagepay 3021 error

Permalink Browser Info Environment
Hi there

I'm getting the following error on the sagepay payment screen, hopefully you can help

'3021 : The basket is invalid'

the error seems to occur if there is a character symbol in the product name field such as £. As a short term work around i've added HTML numbers instead of the keyboard shortcut for special characters and this seems to always work, the error only appears if the symbol is added using a keyboard.

Type: Pre-Sale
Status: Resolved
senshidigital
View Replies:
datasouth replied on at Permalink Reply
datasouth
Hi.

We have released an update 1.0.3 which removes the pound sign from titles prior to transmitting the data to Sagepay to prevent the error. All 'strange characters' are already encoded into htmentities before sending to Sagepay, so its only the pound sign that is causing the problem.

The 1.0.3 download should be available for you to download now.

Rob

concrete5 Environment Information

# concrete5 Version
5.6.3.3

# concrete5 Packages
Add Multiple Pages (2.1.1), Bootstrap Image Gallery (3.0.0.5), Designer Content (3.1.1), Dojo Blog (1.60), Dojo F5 (0.1), eCommerce (2.8.16), eCommerce - Local Pickup (1.1.1), eCommerce Gift Cards (1.4.7), eCommerce One Page Checkout (2.0.5), Form Tableless Layout (1.2.1), Honeypot (1.0), Mail Monkey (2.1.2), Sage Pay eCommerce Payment Provider (1.0.2).

# concrete5 Overrides
blocks/special_offer_block, blocks/homepage_slider, blocks/room_feature_image_caption_block, blocks/image_caption_block_two_column, blocks/hero, css/style.css, languages/es_AR, languages/ru_RU, languages/zh_TW, languages/de_DE, languages/sk_SK, languages/el_GR, languages/es_PE, languages/nl_NL, languages/fr_FR, languages/vi_VN, languages/it_IT, languages/pt_PT, languages/es_MX, languages/ro_RO, languages/fi_FI, languages/es_ES, languages/ar, languages/ja_JP, languages/tr_TR, languages/sv_SE, languages/fa_IR, languages/nb_NO, languages/da_DK, languages/cs_CZ, languages/sl_SI, single_pages/page_not_found.php

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.4.13

# PHP Extensions
bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_sqlite, Phar, readline, Reflection, session, shmop, SimpleXML, snmp, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 60
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 - 8M
sql.safe_mode - Off
upload_max_filesize - 128M
ldap.max_links - Unlimited
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
session.cache_limiter - nocache
session.gc_maxlifetime - 7200

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 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 may not request a refund that is not currently owned by you.