Support

Home Forums Event Espresso Premium Quickpay picks up sub-total instead of total using multi registration

Quickpay picks up sub-total instead of total using multi registration

Posted: September 3, 2013 at 8:11 am


Runemester

September 3, 2013 at 8:11 am

Hi,

I’m running EE 3.1.34.1 and most recent versions of MER, RE and Ticketing.

We are experiencing a serious issue with sub-total instead of total being sent to the Quickpay payment gateway at http://www.esrum.dk/arrangementsoversigt/ The issue only occurs for events where the setting: ‘Additional Attendee Registration info?’ is set to ‘No Info Required’

Invoice and tickets work flawlessly adding up the correct amounts. But something weird is going on when adding up the amount and passing it to the gateaway; it adds ticket prices with additional attendee info added correctly but only adds tickets without add. attendee info once – even though several tickets have been ordered.

Quick-fix has been requiring registration information from all (as opposed to not requiring additional information as described). Apart from the fact that a number of payments have been made with incorrect total amounts we are not happy with the fact that tickets are generated on an individual basis.

I have renamed and disabled customized templates to test on default templates – the issue persists. I have reactivated the custom templates as it is a production site.

Any ideas how to fix this issue will be greatly appreciated.

(btw this seems to be related with the issues previously described here: https://eventespresso.com/topic/multi-event-registration-total-inccorect/ and an earlier post of mine here: https://eventespresso.com/topic/payment-overview-swapped-total-and-sub-total/ – but with a twist as this issue was marked as fixed in the changelog for version 3.1.34)

Thanks
Rune

  • This topic was modified 10 years, 7 months ago by  Runemester.
  • This topic was modified 10 years, 7 months ago by  Runemester.
  • This topic was modified 10 years, 7 months ago by  Runemester.


Josh

  • Support Staff

September 3, 2013 at 3:47 pm

Hi Rune,

Thanks for the detailed report. I can confirm your findings and have filed a bug report with the developers. This appears to be confined to the quickpay gateway so it should be a simple fix.


Runemester

September 4, 2013 at 12:44 am

Hi Josh,

As always – thanks for your speedy reply ๐Ÿ˜‰ I’m glad to know the issue is in good hands and hope to have this issue resolved as soon as possible.

Thanks
Rune


Dean

September 4, 2013 at 3:45 am

Thanks Rune,

We will look to fix it as soon as we can.


Josh

  • Support Staff

September 4, 2013 at 11:40 am

Hi Rune,

This is the fix that we’ve tested and will include in Event Espresso 3.1.35 when it ships:

On line 53 of quickpay/quickpay_vars.php it needs to be changed from:

$amount += $tmp_attendee["final_price"];

to:

$amount += $tmp_attendee["final_price"] * $tmp_attendee["quantity"];

You can apply the same fix to the version you’re using right now in the meantime.


Runemester

September 4, 2013 at 3:23 pm

Thanks a lot for your fast response! That did the job perfectly and we are back selling tickets – and now charging the correct amounts ๐Ÿ˜‰

Thanks
Rune

The support post ‘Quickpay picks up sub-total instead of total using multi registration’ 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