Authorize.net Plugin Bug in RS Form ProWritten by Jacob Hodara on .
Authorize.net's API indicates a character limit of 255 characters on the 'description' parameter. However, the plugin does not trim the string. This can potentially result in failed transactions.
The issue is only evident if you're selling multiple products on a single form, and these products have very long names/labels.
Download a copy (and backup!) of /public_html/plugins/system/rsfpauthorizenet/rsfpauthorizenet.php
Locate the line:
$vars['description'] = implode(',', $products);
Below this line add:
$vars['description'] = substr($vars['description'], 0, 255);
The above line of code will trim any excess characters. The string will be within the API character limit and your orders should process without errors relating to this field.
See our Joomla Support packages for help with your Joomla Website's API.