Support

Home Forums Event Espresso Premium MIGS Gateway Add-on: system error: vpc_OrderInfo too long, 34 character limit

MIGS Gateway Add-on: system error: vpc_OrderInfo too long, 34 character limit

Posted: August 31, 2016 at 10:15 pm

Viewing 2 reply threads


richard sandilands

August 31, 2016 at 10:15 pm

Hi there

We’ve been getting intermittent “payment failed – system errors” from the MIGS payment gateway add-on.

The logs are revealing that the information sent in the vpc_OrderInfo field is exceeding the 34 character limit.

An example of a failing transaction: “Payment+of+1149.38+for+964-62-1-5c63” is being sent but exceeds the 34 character limit and so is returning a system error.

Not sure if this is the correct forum to post this…


Josh

  • Support Staff

September 1, 2016 at 8:27 am

Hi Richard,

Thanks for reporting. We’ll need to send a shorter value to that field then. I’m going to make a ticket for the developer of the MIGS gateway.

In the meantime, you can open up the EE_MIGS_Payment_Method.class.php file and change 66 to be:

'vpc_OrderInfo' => substr( sprintf( __("Reg Code %s", "event_espresso"), $primary_registrant->reg_code() ), 0, 33 ),


Josh

  • Support Staff

September 1, 2016 at 11:47 am

Here’s a patched version of the Migs gateway that you can install:

https://dl.dropboxusercontent.com/u/64768467/eea-migs-payment-method_402cabeb4239.zip

Please let me know if that helps.

Viewing 2 reply threads

The support post ‘MIGS Gateway Add-on: system error: vpc_OrderInfo too long, 34 character limit’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso