Support

Home Forums Event Espresso Premium Issue with Infusionsoft payment / integration

Issue with Infusionsoft payment / integration

Posted: July 23, 2017 at 5:21 pm


Mike Doughty

July 23, 2017 at 5:21 pm

Hi,

I have set up Infusionsoft payment (integrated with a merchant account). When I try to test a payment it keeps failing and I am getting an error message that reads:

“The Charge was null, payment failed validation; Credit car id: 154.0 Invoice id:526.0”

When I check infusionsoft, It is correctly creating the order within infusionsoft . The payment error I get from there says:

“ERROR Payment of 0.01 for 164-52-1-e09b”

Any suggestions on what could be causing the problem?

Thanks


Tony

  • Support Staff

July 24, 2017 at 8:00 am

Hi there,

0.01 may be below the minimum amount required, try making a higher value payment, say 1.00 or more (5.00) and confirm if you get the same error.


Mike Doughty

July 24, 2017 at 11:30 am

Hi Tony, Thanks for your reply

I tried with $1.00 and $5.00 but both also failed and produced the same error message.


Mike Doughty

July 25, 2017 at 10:56 pm

Any suggestions on what this could be? I need to get this fixed ASAP.

Thanks


Josh

  • Support Staff

July 26, 2017 at 8:08 am

Hi Mike,

I checked Infusionsoft’s site and they don’t have much information about that specific error:

https://community.infusionsoft.com/t/live-payment-with-infusionsoft-payment/1841

What I can suggest is go to Event Espresso > Payment methods > Logs and check the log entries for the payments. There may be more specific error messages logged there.


Mike Doughty

July 26, 2017 at 7:10 pm

Hi josh,

Thanks for the reply. This is the error from EE:

The charge was null, payment failed validation; Credit Card Id: 170.0 Invoice Id: 548.0

https://www.screencast.com/t/iRt9sIwEXUoi

I contacted Infusionsoft support and they suspect that not all the credit card details are been pushed into to Infusionsoft from EE.

Any ideas on how to fix this?


Tony

  • Support Staff

July 27, 2017 at 3:59 am

That error is not from the logs, it’s from the transaction itself and is the response received from IS.

Can I take a look at the logs on your site to confirm if the value is being sent over? If so I’ll need temporary wp-admin login details which you can send using this form:

https://eventespresso.com/send-login-details/


Mike Doughty

July 27, 2017 at 4:42 am

Hi Tony,

I have submitted the login details. Look forward to your response.

Thanks


Tony

  • Support Staff

July 27, 2017 at 7:20 am

Ok, the log doesn’t show any useful information for this.

However I did notice there is a JS error being thrown from your registration-extras.js file from the aw-teo-event-registration plugin which is also customizing the call to IS.

If you deactivate that plugin and retest does it work then?


Mike Doughty

July 27, 2017 at 4:14 pm

Hi Tony,

I disabled the plugin but it is still not working. Any other suggestions?


Mike Doughty

July 29, 2017 at 9:42 pm

Hi,

Can we please have this support issue answered urgently. It’s been over 2 1/2 days since we posted the last response.

Is there a way we can get this issue resolved asap.

Thanks, Mike


Tony

  • Support Staff

July 31, 2017 at 7:20 am

Hi Mike,

Apologies for the delay, we don’t provide support over the weekend.

I’ve just tried to log back into your site to investigate this further but its displaying maintenance mode and will not allow me to log in with the credentials you provided.

Do I need update credentials or can you disable maintenance mode whilst I look into this? I may need to add some debug code to the site and enable WP_DEBUG to view any other errors being thrown during the request.


Mike Doughty

July 31, 2017 at 4:06 pm

Hi Tony,

I have disabled the maintenance mode so you can now access the site. Thanks


Tony

  • Support Staff

July 31, 2017 at 7:10 pm

I’ve been stepping through the code to check into this and the error being thrown can only happen once EE has already passed over all of the details to IS.

The error shown on the page is directly from IS so we don’t have any additional details on that error as it’s not from EE.

I did add some debug code to your site to confirm that all of the details are being passed to IS when I attempted to make a payment and they are.

Through each step, we check for any errors thrown and break out of attempting to make a payment if there are any. Notice how the error message has the Invoice and Card ID’s referenced:

“The Charge was null, payment failed validation; Credit car id: 154.0 Invoice id:526.0”

We can only get to that point if all of the details have been passed over and the charge attempt has been made. IS works a little different with payments, the card details are validated by passing the details to IS and they pass an ID back. This is then used, along with an Invoice ID to create a charge on the invoice, it is that final call to charge the Invoice that is throwing the error but that means that all other details have correctly validated with IS.

Can you contact IS once again and have them check into the payment requests being made on the site, it looks like the error is on their end rather then EE.

Has your IS account been used to take payments previously?


Mike Doughty

August 1, 2017 at 5:33 pm

Hi Tony,

Thanks for the reply. I will try talking to infusionsoft again.

One thing to note is ff I log into infusionsoft and go into the order that was passed from EE to Inufsionsoft, I can successfully process the payment manually but I have to re-enter the credit card details. Payment successfully goes through the merchant account so at least we can rule that out as been the problem.


Tony

  • Support Staff

August 2, 2017 at 2:36 am

Hmm, see that’s what makes this strange.

Here is a quick run down of what EE does when you attempt a payment with IS:

Checks we have a valid EE_Payment object.
Checks we have a valid EE_Transaction object.
Checks we have a valid EE Primary Registrant.
(Up to this point its standard for almost all payment methods)

Connects to Infusionsoft.
‘Syncs’ up with Infusionsoft to make sure it has the tickets/products etc.
Pulls the IS contact ID for the current Primary registrant or creates a new one (now has client ID)
Checks this isn’t a revisit for a previous invoice.
Creates new invoice if not the above. (now has Invoice ID)
Validates the card details.
Checks if the card is linked to contact or adds the card to IS. (now has Card ID)
Creates a charge on the invoice using the Client, Card and Invoice ID’s from above….

If any of the above return an error, we break out of making a payment. It seems like everything works up to the point of when the payment is being taken, the card details validate with IS and all goes as expected until the payment is actually taken.

(When I added debug code to your site I could see all of the details right up to when the charge was being created)

But you then adding the card details into the system manually and it works as expected, so something is missing. However, if this was due to EE not sending the details over we’d have multiple reports of this error.

If IS can provide any more details on what is missing, or any more specific details on the error I can pass this along to our developers to investigate further.


Tony

  • Support Staff

August 2, 2017 at 3:16 am

If you log into your IS account, then view a contact record for one of the users this has happened to through:

Main -> CRM -> Contacts.

Then when viewing the contact details you can click on Orders – http://take.ms/EVshb

Do you see a card listed there? If so click on the card typ and you should see the details used during the card payment, can you confirm the details show there?


Mike Doughty

August 3, 2017 at 10:14 pm

Hi Tony,

I checked this and can confirm that the card details are been pushed into infusionsoft, however, the one thing I can see missing is the “Billing Name”, could that be what is potentially causing the issue?

https://www.screencast.com/t/Ykg1RaWYy6k8

I have sent Infusionsoft support your comments and waiting for them to get back to me if any other information is missing, will update when they do.

Thanks


Tony

  • Support Staff

August 4, 2017 at 2:48 am

Possibly, I can add that to the function that adds the card to IS on your site so you can test if it works then if you prefer?

Which payment provider is linked to your IS account?

Have you checked if any AVS (Address validation services) and/or CVS (card validation services) are activated on your payment providers end? If so try temporarily disabling those and see if the charge works then.

You mentioned if you manually add the details into IS the payment works, are you adding any additional details to what EE is?


Mike Doughty

August 7, 2017 at 3:48 pm

We are using Payment Express using PXpost. When I add the details to infusionsoft there are no additional Fields that I add, except for the billing name. As you suggested, could we try adding that to our site and then I can test again.

Thanks


Tony

  • Support Staff

August 8, 2017 at 3:12 am

Ok, I’ve added the bill name to the code used on your site.

Can you test another payment and see if you get the same error?


Mike Doughty

August 8, 2017 at 3:54 pm

Hi Tony,

Tested that but still seems the billing name is not been passed to infusionsoft:

https://www.screencast.com/t/9sPitN7MmL

Thanks


Tony

  • Support Staff

August 9, 2017 at 11:05 am

Was that card already linked to your contact?

The add-on checks if the card is linked to your contact base don the current user details and the last 4 digits of the card.

So you’ll need to use completely random data when registration to make sure you’re creating a new contact within IS.

Did IS respond with any further details of the error?


Mike Doughty

August 9, 2017 at 3:16 pm

Hi Tony,

I tested again, new contact, new card but still the same error as before and the billing name was not passed to IS..

IS support tested and told me that the problem was the missing Billing Name..

Thanks


Mike Doughty

August 9, 2017 at 4:53 pm

Hi Tony,

I tried again with a few other different cards. Mostly the same error as before, however, this came up as one of the errors one time, which is different from what I have seen before:

https://www.screencast.com/t/JOpLtCLDn57W


Tony

  • Support Staff

August 10, 2017 at 12:38 pm

My apologies, IS has both a ‘BillName’ and ‘NameOnCard’ parameter.

I used BillName but it appears you need NameOnCard so I’ve added both to your site to confirm. One problem that may come up is currently it’s using the full name for the value of NameOnCard, it may need to be updated to use the first letter of the first name and surname.


Tony

  • Support Staff

August 10, 2017 at 12:41 pm

As for the new error, there are multiple causes for that error and unfortunately, the error is unknown on that pop-up.

Had you tried multiple payments on that transaction? Or have you left that tab open for a while?

If you can let me know the steps taken to throw that error I can take a look into it.

The support post ‘Issue with Infusionsoft payment / integration’ 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