Authorize.Net payment plugin error in RS Form Pro: the Problem

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.

{snippet addthis}

Authorize.Net payment plugin error : the Solution

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.

{snippet joomla}

Authorize.Net payment plugin error in RS Form Pro Overview

Share

Have an Issue with Authorize.net's API?

Frequently Asked Questions

Authorize.net API

Yes, Authorize.net is available for businesses physically located in Canada. They offer payment processing for credit cards, eChecks, and let the business accept payments from customers from all around the world.

Not really.

  • Authorize.net: is a bridge, and it needs a separate merchant account for processing. Authorize.net has an API to integrate with your eCommerce. It has limited internationally.
  • Stripe: is all-in-one solution, including the account to processes. Customized options and setup can be tricky.

Need More Information About Our Joomla Solutions?

Digital Marketing Blog

Insightful Trends in E-Commerce, Google & Facebook Ads, SEO, Content Marketing, Digital Strategy, Web Development and Security. Stay in the loop to be among early birds and innovative businesses.