Support

Home Forums Event Espresso Premium Errors choosing Check payment on registration

Errors choosing Check payment on registration

Posted: June 16, 2016 at 8:55 am


Bob Randklev

June 16, 2016 at 8:55 am

Clients are getting this error when trying to choose payment by check:
When you click on the shopping cart for some c.c. payment registrations it pops up this error.

Catchable fatal error: Argument 1 passed to EE_Payment_Processor::_remove_unusable_characters_from_array() must be of the type array, null given, called in /srv/users/serverpilot/apps/streetsmartsdriversed/public/wp-content/plugins/event-espresso-core-reg/core/EE_Payment_Processor.core.php on line 192 and defined in /srv/users/serverpilot/apps/streetsmartsdriversed/public/wp-content/plugins/event-espresso-core-reg/core/EE_Payment_Processor.core.php on line 291

Then the customer is registering again to pay by CC and the classes are filling up.

We have moved to CloudFlare a month ago and caching is shut off for /class-registration/* so all sub pages

Not sure if this is a code problem or could caching be part of the problem?


Josh

  • Support Staff

June 16, 2016 at 11:23 am

Hi Bob,

Are they actually trying to pay by Check or Credit Card? The reason I ask is because the code that’s throwing an error will only run after paying by credit card.


Bob Randklev

June 16, 2016 at 12:10 pm

No the error is part 2,

Part 1 is clients are having problems choosing pay by check and the reservations are showing incomplete but showing a registration for the class. One client did this 3 times and then paid by CC. So the same person is registered 4 times and the class went over the limit.

Part 2: when you click the shopping cart to remove the payment so you can delete the registration you get the PHP errors.

For now I’m having them cancel the registration to get the counts back in line for each class but we need to stop the problem and then delete the incomplete reservations.


Josh

  • Support Staff

June 16, 2016 at 12:25 pm

Do you know why/how they having are having problems when they choose to pay by check?


Bob Randklev

June 16, 2016 at 12:35 pm

I’m trying to get more detail on that now


Tony

  • Support Staff

June 17, 2016 at 4:05 am

Hi Bob,

Part 2: when you click the shopping cart to remove the payment so you can delete the registration you get the PHP errors.

This should be fixed within EE 4.9.1 which has now been released and should show in your dashboard.


Bob Randklev

June 17, 2016 at 6:40 am

Ok I’ve applied the update and will update you.

CloudFlare: are there other files we need to bypass cache or other settings?

I have a hunch the problem started with a failed user transaction that got cached and repeated a few times.
Then the client had problems removing them and didn’t know/realize you could cancel then delete.
I’ll report any other problems in case there’s something else going on here.


Tony

  • Support Staff

June 17, 2016 at 6:57 am

We have a guide on setting up exclusions here:

https://eventespresso.com/wiki/setup-nocache-exclusion-rules-event-espresso/

Your slugs will be different but you can click the ‘View’ link within the Critical pages tab to view each page, not the URL for each and those all need to be excluded from caching.

I’ve also just ran a quick test registration on one of your events to test and all seemed well. You can remove that registration if your prefer to.

The support post ‘Errors choosing Check payment on 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