Support

Home Forums Event Espresso Premium The Term "Check" versus "Cheque"

The Term "Check" versus "Cheque"

Posted: September 9, 2015 at 8:21 pm


Renee deVilliers

September 9, 2015 at 8:21 pm

Hi,

So far I have been about to customize a few strings using previous advise from support staff.

However, here is the problem I am having, but can’t seem to figure out how to change it.

In the Attendees list, for example, where it says “TYPE” and it puts Paypal if they pay by Paypal and check if they selected that payment option which I have turned on. However, when I export my list, the term “check”, here in Canada at least, means go and make sure something is ok or correct – and for our staff it is very confusing as they think they need to check if the person has actually paid or not. How can I have the references to “check” always say “cheque” instead, in particular in the attendee registration and payment information.

Also, I notice that NOTHING actually shows up in the list if they select that method of payment.

Please help.

Thanks!


Tony

  • Support Staff

September 10, 2015 at 3:31 am

Hi Renee,

Also, I notice that NOTHING actually shows up in the list if they select that method of payment.

Do you mean nothing displays within TYPE when they select Cheque?

I just ran a quick test registration September Chiro Day event, can you check that registration and see if it displays all of the details please?

To change ‘Check’ to ‘Cheque’ when a user selects that payment method will require a couple of small modifications. We can provide further details but I want to confirm the above is working first.


Renee deVilliers

September 10, 2015 at 7:57 am

Tony,

YOUR registration test DOES Show “Check” in the TYPE column in the attendees list and DOES display the other information in the attendees list. However, all previous are blank in the TYPE (if they selected Check) method, which I find strange. But so long as we can fix the text for future registrants, that will be ok.

I have a custom_function.php file in use in the “uploads/espresso” folder. Just so you know.

Please let me know what modifications to make and where. Thanks!


Tony

  • Support Staff

September 10, 2015 at 9:14 am

YOUR registration test DOES Show “Check” in the TYPE column in the attendees list and DOES display the other information in the attendees list. However, all previous are blank in the TYPE (if they selected Check) method, which I find strange.

The most likely cause of that is people not finalizing the registration when they select check. So they get to this point – http://take.ms/ApUB6

But don’t click the link that I’ve highlighted. That closes the session and saves the selected payment gateway.

I have a custom_function.php file in use in the “uploads/espresso” folder. Just so you know.

Thank you for letting me know, it won’t cause any problems.

What you need to do is grab the ‘check’ gateway from within:

/wp-content/plugins/event-espresso/gateways/

Find the ‘check’ directory there and copy it. Now paste that within:

/wp-content/uploads/espresso/gateways/

So you have a copy of the check gateway in that location.

There you want to edit the /check/check_ipn.php file.

On line 11 you’ll find this:

$payment_data['txn_type'] = 'Check';

Change that to:

$payment_data['txn_type'] = 'Cheque';

What this will do is change the TYPE feiled for any NEW registrations made after this change. The current registrations will continue to use ‘Check’ but going forward ‘Cheque’ should be used if the user finalizes the registration that is.

It might a good idea to add some styling to that link to make sure the users click it. Making it bigger or another colour?

For example:

#check-payment-option-dv .finalize_button {
    font-size: 22px;
    color: red;
}

(Just an example of styles but the selector is the one you need)

Or you could alter the wording around that link if you prefer? That’s done within check_payment_vars.php within your custom check gateway directory.

That all make sense?

The support post ‘The Term "Check" versus "Cheque"’ 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