Posted: February 23, 2014 at 3:08 pm
|
I have just upgraded WordPress and Event Espresso (info below) ‘Purchase Order Payments’ is not submitting. Clicking the button – <code> < input class="finalize_button inline-link" name="submit_purcahse_order" value="Complete your Registration" type="submit" > </code> just produces an alert ‘this page is asking you to confirm that you want to leave – data you have entered may not be saved’. Same with cheque payments ‘complete your registration’ link. If one clicks ‘leave page’ (given there is little other option) the ‘Thank You’ page with the [ESPRESSO_PAYMENTS] shortcode is blank (see debug below). This seems to be the same error as reported at https://eventespresso.com/topic/ee3-no-confirmation-if-p-o-field-is-left-blank/ I have tried deactivating and reactivating EE Your help with this is appreciated. Information: ‘Thank You’ page debug messages – Notice: Undefined index: payment_status in /var/www/vhosts/pac.org.uk/httpdocs/wp-content/plugins/event-espresso/gateways/process_payments.php on line 112 Notice: Undefined index: attendee_id in /var/www/vhosts/pac.org.uk/httpdocs/wp-content/plugins/event-espresso/gateways/process_payments.php on line 117 Notice: Undefined index: payment_status in /var/www/vhosts/pac.org.uk/httpdocs/wp-content/plugins/event-espresso/gateways/process_payments.php on line 127 Notice: Undefined index: txn_type in /var/www/vhosts/pac.org.uk/httpdocs/wp-content/plugins/event-espresso/gateways/process_payments.php on line 128 Notice: Undefined index: txn_id in /var/www/vhosts/pac.org.uk/httpdocs/wp-content/plugins/event-espresso/gateways/process_payments.php on line 129 Notice: Undefined index: attendee_session in /var/www/vhosts/pac.org.uk/httpdocs/wp-content/plugins/event-espresso/gateways/process_payments.php on line 134 Notice: Undefined index: payment_status in /var/www/vhosts/pac.org.uk/httpdocs/wp-content/plugins/event-espresso/gateways/process_payments.php on line 250 |
|
Hi, OK there are a few things here: 1) Undefined indexes. These are not an issue, but they should also not be being shown. Please makes sure you have wp_debug set to false in your wp_config.php file. 2) Pop up. Well that shouldn’t be happening if they have clicked the finalise button so. Now I need to ask, have you modified the gateways in any way? it looks liek you might of as there is no finalise link for the invoice. As such I would delete or rename the gateway folders in wp-content/uploads/espresso/gateways, so that the plugin uses the default gateways, and then see if this issue persists. 3) The blank thank you page. We have a ticket for this and have added in some validation to try to prevent this, this will appear in an upcoming update. |
|
Thanks 1) I only set to ‘true’ for a moment to see what was going on 2) You were right. The issue was on /uploads/espresso/gateways/purchase_order/po_payment_vars.php we had customisation to change text (mainly US ‘check’ for UK ‘cheque’) and the surrounding code has changed preventing the submission. I have re-applied the customisation to the latest code and all seems fine. 3) Noted. |
Hi there, This is a link to a gist that has an update for Purchase order gateway’s po_payment_vars.php. It adds some simple jQuery validation to the po number input field. You can upload it to /plugins/event-espresso/gateways/purchase_order and replace the file that’s there now. |
|
The support post ‘Undefined index error – blank page – cannot complete 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.