Support

Home Forums Event Espresso Premium InfusionSoft Payment Details not updating correctly from Paypal Gateway

InfusionSoft Payment Details not updating correctly from Paypal Gateway

Posted: August 20, 2014 at 5:38 pm


Sean Verret

August 20, 2014 at 5:38 pm

Hi,

When I purchase multiple products it doesn’t appear that EventEspresso is sending the correct payment data back to InfusionSoft. Rather it states that I’ve only purchased one item versus N. In EventEspresso it states that I’ve paid for all tickets, but that information doesn’t seem to be relayed back to InfusionSoft.

Has anyone else seen this?

Thanks


Josh

  • Support Staff

August 21, 2014 at 3:07 pm

Hi Sean,

You’ll want to try the Event Espresso 3.1.37 pre-release. It has a fix for this.

You can download this from your account page *after* you click the box to opt in to the pre-release channel.


Sean Verret

August 21, 2014 at 7:38 pm

Thanks Josh. Is the pre-release going to break anything else?


Sean Verret

August 21, 2014 at 7:56 pm

Hi Josh,

I tried the prerelease this evening and am still getting the same issue. Is there something else I’m missing? Do I need to adjust any other settings? I simply deactivated the 3.1.36 version and activated the 3.1.37 version and then tested the system.

Thanks
Sean


Sean Verret

August 21, 2014 at 9:23 pm

Hi Josh,

I tried to do things “slower” and this is what I’ve found.

1. I register for the event, which creates the contact in InfusionSoft and tags it with the infusionsoft_tag_id set in the settings.
2. Before any payments are made using EE3’s Paypal gateway, the InfusionSoft contact shows that they owe the full amount of the N tickets. Similarly in EE3, it shows that the contact owes the full amount.
3. After a payment is made using Paypal (BTW I’m using a sandbox/developer account) then the EE3 contact is updated accordingly and showing full payment.
4. Once EE3 shows that full payment has occurred it appears that when it send this information to InfusionSoft it only says that 1 ticket has been purchased instead of N.

Do you know where this information is being brought in to EE3 and then sent to InfusionSoft? I assume the “action_hook_espresso_save_attendee_data” hook is being called and one of the fields is being incorrectly updated based on the paypal data.

If you let me know the file (I will attempt to search through it) then I can see if I can debug from here as well.

OR do I also need the Beta Infusionsoft release?


Sean Verret

August 21, 2014 at 10:23 pm

There is no Beta Infusionsoft release, so I’m not sure if I should be doing something else… But with the Beta EE3 I still am getting the same results as explained above.


Sidney Harrell

August 25, 2014 at 11:44 am

I think the line you are looking for is line 235 of plugins/espresso-infusionsoft/index.php:

$result = $ee_infusionsoft->manualPmt($infusionsoft_data['invoice_id'], $payment_data['total_cost']/$payment_data['quantity'], date("Ymd\TH:i:s", time()), $payment_data['txn_type'], ' '.__('Transaction ID:', 'event_espresso').' '.$payment_data['txn_id'],false);

If you remove the /$payment_data[‘quantity’] then it should update the IS contact as having paid the full amount.
I’m not sure what the reasoning for having that in there. It could be for a different scenario than the one you have. Are you using the Multiple Events Registration add-on for the shopping cart registration process? Are you allowing group registrations on each event? Are you requiring information on the additional attendees?


Sean Verret

August 28, 2014 at 7:02 pm

Thanks Sidney.

I am NOT using multiple events.

I AM allowing multiple registrations.

I am NOT requiring additional information on the additional attendees.

I’ll try this out. I assume that I don’t need the Beta of EE3 then?

Thanks
Sean


Sean Verret

August 28, 2014 at 7:18 pm

Hi Sidney,

I went back to the stable release of EE3 and I removed the code as you suggested and now it states the Amount Paid is zero…

Sean


Sean Verret

August 28, 2014 at 7:28 pm

Hi Sidney, it’s odd, I removed the code like you said and got the result above. Then I instead replaced the code you said to remove with “/1”, i.e. divide by one and then it worked.

Not sure why.
Sean


Sidney Harrell

September 2, 2014 at 5:20 pm

Wow, that is strange. I’d have to play around with it to try to give you a reason why.

The support post ‘InfusionSoft Payment Details not updating correctly from Paypal Gateway’ 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