Support

Home Forums Event Espresso Premium Custom Offline Gateway – get_payment_overview_content method ignored

Custom Offline Gateway – get_payment_overview_content method ignored

Posted: October 21, 2014 at 9:16 am


Andre Ribeirinho

October 21, 2014 at 9:16 am

I’m creating a new offline payment gateway using bank and check as examples with no success. The final slice of code seems to be completely ignored. When it’s time to fire function get_payment_overview_content(EE_Payment $payment) the function does not seem to be read and the following occurs:

https://www.evernote.com/shard/s219/sh/8b76094f-eef9-4fd8-a93c-d449b3098a30/b8f4dc0d7e9b8c22414b069808ced9c9

Here’s the code:

https://gist.github.com/csrui/516fb0cdf78ca68426e6

System Info:

WordPress Version:
4.0
PHP Version:
5.5.14
MySQL Version:
5.5.38
Event Espresso Version:
4.4.3.p


Sidney Harrell

October 30, 2014 at 10:23 am

Is it calling core/db_models/EEM_Gateways.model.php EEM_Gateways->get_payment_overview_content()? It looks like there is a log file line in that function, so it should be easy to see if it’s being called. That should be calling the method on your particular gateway.


Andre Ribeirinho

October 31, 2014 at 6:07 am

It’s not being called. I’m trying to create an Offline Gateway but an Event Espresso core file is blocking this.

plugins/event-espresso-core-reg/shortcodes/espresso_thank_you/EES_Espresso_Thank_You.shortcode.php (Line: 285) has an hardcoded array of Offline gateway names that prevents it from being called


Andre Ribeirinho

October 31, 2014 at 6:07 am

Oh, by the way… good job on the 9 day response time.


Sidney Harrell

November 4, 2014 at 6:26 pm

That has been fixed upstream. You might be better off getting github access so you can look at the upstream branches.


Josh

  • Support Staff

November 4, 2014 at 7:45 pm

You can sign up for Github access here:

http://eventespresso.com/developers/request-repo-access/

The support post ‘Custom Offline Gateway – get_payment_overview_content method ignored’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 5 years, 5 months ago ago

Topic Tags

Tagged: 

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!