Support

Home Forums Event Espresso Premium PayTrace Invoice Error

PayTrace Invoice Error

Posted: November 4, 2013 at 4:17 pm

Viewing 6 reply threads


Rosecrance Health

November 4, 2013 at 4:17 pm

Im getting an error on the payment page after a credit card is entered when we use the PayTrace payment gateway. The error is “ERROR: 149. Please provide a valid Invoice Number.
Looks like something went wrong. Please try again or notify the website administrator.”

Any ideas why this is happening?

Screenshot: http://dl.dropboxusercontent.com/u/3211052/Screen%20Shot%202013-11-04%20at%205.10.54%20PM.png

WordPress: 3.7.1
Event Espresso is 3.1.35.2.P


Tony

  • Support Staff

November 5, 2013 at 4:09 am

Hi,

I’m sorry to hear your having problems with PayTrace.

Firstly can you log in to you PayTrace Account, go to Security and ensure ‘Require Invoice’ is set to ‘No’ please?

If not set this option to No and Save the settings.


Dean

November 5, 2013 at 4:17 am

Hi,

Is this error coming up for every transaction?

Have the gateway files been modified in any way?


Rosecrance Health

November 8, 2013 at 9:01 am

I logged into my PayTrace account and turned off ‘Require Invoice’ and set to ‘No’. This fixed the issue and a transaction went through. The issue we have is that our other transactions require it, so I cant turn it off due to our circumstances.

Can I edit the invoice number in Event Espresso to be set to something like ‘web’ for every transaction???


Tony

  • Support Staff

November 8, 2013 at 12:26 pm

By default Event Espresso does not send any Invoice number which is why you are receiving the error.

I’ve modified the paytrace gateway to uses the attendees registration_id as the invoice number, this will be a unique value for every attendee.

If you download https://www.dropbox.com/s/pg3ye5qzu84cg3r/paytrace.zip

Extract the folder to wp-content/uploads/espresso/gateways/

So your paytrace folder would then be wp-content/uploads/espresso/gateways/paytrace/

That will override the default one and will not be removed during updates.

I’d advise you to run a couple of test transactions to check all is working as expected, although I tested this using the demo account and seems to work fine.


Rosecrance Health

November 8, 2013 at 12:36 pm

Tony,
Thanks for your help. Last night I played with the code some more and added the invoice to wp-content/uploads/espresso/gateways/paytrace/paytrace.class.php on line 65 by appending INVOICE~WEBSITE| so it looks like such
$params .= "BNAME~{$bname}|BADDRESS~{$baddress}|BCITY~{$bcity}|BSTATE~{$bstate}|BZIP~{$bzip}|INVOICE~WEBSITE|";
That works as well in case anyone is looking to do the same.
Note: My above method will have each invoice be the same value of WEBSITE, but transactions will go through and be processed.


Tony

  • Support Staff

November 8, 2013 at 12:44 pm

I wasn’t sure if you could use the same Invoice value for each transaction which is why I used the registration_id.

Either way I’m glad you got this working 🙂

Viewing 6 reply threads

The support post ‘PayTrace Invoice Error’ 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