Support

Home Forums Ticketing Add-on Auth.net – This registration step could not be completed…

Auth.net – This registration step could not be completed…

Posted: October 13, 2017 at 3:14 pm


spiritof33

October 13, 2017 at 3:14 pm

When testing our Auth.net gateway with purchasing a ticket, we are receiving the following error: This registration step could not be completed. Please refresh the page and try again. This comes after a payment method is entered and submitted.

If we enable the PDF invoice payment method, we can successfully complete the purchase of a ticket. I have code from Chrome’s developer console that shows once the above error displays:

jquery.js:4 POST https://spiritof33.com/wp-admin/admin-ajax.php 500 (Internal Server Error)
send @ jquery.js:4
ajax @ jquery.js:4
submit_reg_form @ single_page_checkout.js:808
process_next_step @ single_page_checkout.js:754
(anonymous) @ single_page_checkout.js:411
dispatch @ jquery.js:3
r.handle @ jquery.js:3
That’s from Developer Tools console

We also attempted increasing the memory limit using define( “WP_MEMORY_LIMIT”, “100M”) in the wp-config.php file. The max_input_vars is set to 10000.

Lastly, we also are using PaidMembershipsPro with the Authorize.net gateway successfully.

Thanks,
Matt


Josh

  • Support Staff

October 14, 2017 at 8:06 am

The 500 error means there’s a fatal error happening during the ajax request. You may be able to capture that fatal error with WP_DEBUG_LOG. Here’s a link to the WordPress codex that shows how to log the errors without displaying them:

https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging


spiritof33

October 16, 2017 at 10:22 am

I have enabled debugging and this is the error I found in the log file:

[16-Oct-2017 16:18:03 UTC] PHP Fatal error: Call to undefined function EventEspresso\core\services\formatters\iconv() in /home/spiritof33/public_html/wp-content/plugins/event-espresso-core-reg/core/services/formatters/Windows1252.php on line 33

Thank you for your help. It is much appreciated.


Tony

  • Support Staff

October 16, 2017 at 10:30 am

Hi there,

Please update to the latest version of Event Espresso 4 (currently 4.9.48), we added a check for this in 4.9.39, as your site is currently using 4.9.38 you need to update to prevent the error.


Josh

  • Support Staff

October 16, 2017 at 10:30 am

OK the error is happening because the two following conditions were met:

1) Your server’s installation of PHP does not have the iconv() function enabled
and
2) Your site’s copy of Event Espresso is out of date. (EE4.9.38) Older versions of Event Espresso 4 attempted to use the iconv() function to convert the Event’s description characters before sending to Authorize.net. Newer versions include a check to make sure iconv() is installed before attempting to use it.

The simplest solution in this case is update to the current version of Event Espresso 4 (currently Event Espresso 4.9.48.p).

The support post ‘Auth.net – This registration step could not be completed…’ 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