Support

Home Forums Event Espresso Premium Check-out / Transaction / Mobile issues

Check-out / Transaction / Mobile issues

Posted: May 14, 2018 at 3:57 pm

Viewing 12 reply threads


sliu

May 14, 2018 at 3:57 pm

Hello, I’m running into a few issues and am hoping to be pointed in the right direction. I searched the forum for solutions and am still having trouble. Thanks in advance for your help!

1. When attempting to register and add an event to cart, I often receive this error: “We’re sorry, but your ticket selections could not be processed due to a server timing error. Please hit the back button on your browser and try again.”

2. When attempting to check out, I get the error “This transaction cannot be accepted. (Reason Code: 103)”. I have Authorize.net AIM set up with the login ID and transaction key. The same credentials are being used by another website and is working.

3. When on mobile, the calendar add-on does not seem to display properly:
3.1 The tooltip doesn’t always show up on click, and when it does, only the paragraph titles show up and the content is missing. Image here.
3.2 Clicking on “+ View More” changes the calendar view to a single-day view, and no content shows up. I would like to keep the calendar always in month view. I’ve adjusted the calendar settings and it works great on desktop, but not mobile. Image here.

4. When on mobile, the grid add-on doesn’t seem to be clickable, and I can’t find a way to center the grid within the container / column. Image here.


sliu

May 14, 2018 at 4:03 pm

Hi, apologies——I just solved the Authorize.net 103 error. However I would still very much appreciate help troubleshooting the others! Thank you.


Josh

  • Support Staff

May 14, 2018 at 4:16 pm

Hi there,

1. When attempting to register and add an event to cart, I often receive this error: “We’re sorry, but your ticket selections could not be processed due to a server timing error. Please hit the back button on your browser and try again.”

This is usually caused by caching where the timestamp on the ticket selector is over an hour old. If you have a caching plugin activated you can add an exclusion for any page with the ticket selector (usually any page with /events/ in the URL).

3. When on mobile, the calendar add-on does not seem to display properly:
3.1 The tooltip doesn’t always show up on click, and when it does, only the paragraph titles show up and the content is missing. Image here.
3.2 Clicking on “+ View More” changes the calendar view to a single-day view, and no content shows up. I would like to keep the calendar always in month view. I’ve adjusted the calendar settings and it works great on desktop, but not mobile. Image here.

The calendar wasn’t developed for mobile (small screen) views, there’s a suggestion outlined in the calendar documentation that shows how to serve an event list instead of the full calendar to small screens:

https://eventespresso.com/wiki/events-calendar-add-on/#how_to_calendar_list_on_small_screens

4. When on mobile, the grid add-on doesn’t seem to be clickable, and I can’t find a way to center the grid within the container / column. Image here.

Are you using the Grid shortcode within the page content or is the shortcode being used within a page builder outside of the main content? If you can post a link to the page we in question we can investigate further.


sliu

May 16, 2018 at 4:19 pm

Thank you for pointing me in the right direction with the caching and calendar on mobile. The WP Mobile Detect is a good fix.

Now that I’m able to complete the transaction, I’m running into a few new issues:

1. After completing a transaction, on the “thank you” page, there’s a button “View Full Order Confirmation Receipt”. Clicking on it brings us to the receipt (or toggle for invoice), which I see we can edit via “Messages”. However, on the top of the page for both invoice / receipt, I’m getting this error: “Warning: getimagesize(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /data/12/1/22/27/1185516/user/1260778/htdocs/wordpress2018/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 504

Warning: getimagesize(http://trainthebay.org/wp-content/uploads/2018/05/train_the_bay_horiztonal_white_simple-300×56.png): failed to open stream: no suitable wrapper could be found in /data/12/1/22/27/1185516/user/1260778/htdocs/wordpress2018/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 504”

2. I managed to come across the “your cart is empty” page, which has the following content:
“NOTHING IN YOUR EVENT QUEUE
You need to select at least one event before you can proceed with the registration process.”

How can I 1. update the verbiage to say “NOTHING IN YOUR CART”; and 2. update the link from the /events (or in my case /classes) url to another url (/register)?


Tony

  • Support Staff

May 17, 2018 at 4:44 am

Hi there,

However, on the top of the page for both invoice / receipt, I’m getting this error: “Warning: getimagesize(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0

allow_url_fopen has been disabled on your server which is casue the above, you will need to contact your host and have them enable allow_url_fopen on your site.

How can I 1. update the verbiage to say “NOTHING IN YOUR CART”;

You’ll need to ‘translate’ the string to another, we have some examples of how you can do that here:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/

I would use the custom function:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function

the string you need to translate is 'Nothing in your Event Queue' so you $strings array would show something like:

$strings = array(
        'Nothing in your Event Queue' => 'Nothing in your Classes Queue',
);

2. update the link from the /events (or in my case /classes) url to another url (/register)?

You can change that text, and the link used, using something like this:

https://gist.github.com/Pebblo/4aa2463d2781170f383710ce519ca082

You can all of the functions used above to a custom functions plugin, we have some documentation on how to create one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

However, are you wanting that /events/ link used throughout EE to all use a different URL?


sliu

May 17, 2018 at 11:19 am

Thank you!

Yes, I would like everything pointing to /events (in my case /classes) to actually go to /register.


Josh

  • Support Staff

May 17, 2018 at 2:53 pm

Hi Sherry,

That can be changed by adding the following code to your site’s functions plugin:

function my_ee_mer_change_event_list_url( $url ){
    $url = home_url( '/register' );
    return $url;
}

add_filter( 
    'FHEE__EED_Multi_Event_Registration__set_definitions__events_list_url', 
    'my_ee_mer_change_event_list_url' 
);


sliu

May 22, 2018 at 2:30 pm

Hi Josh,

I added the code you provided and most of the /classes url are correctly being directed to /register, which is great! However, this is not working on this page: https://trainthebay.org/registration-checkout/?uts=1526332487#checkout

Also, on the Receipt/Invoice pages, I was able to enable allow_url_fopen, but I am now getting this error:
“Warning: getimagesize(https://trainthebay.org/wp-content/uploads/2018/05/train_the_bay_horiztonal_white_simple-e1527020901895.png): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in /data/12/1/22/27/1185516/user/1260778/htdocs/wordpress2018/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 504”


Josh

  • Support Staff

May 22, 2018 at 3:21 pm

Hi there,

Can you explain what you mean by “not working”? I’m sorry but we cannot access the page to see what’s happening there.

With regards to the 400 Bad request error, I’m not able to open an image with that URL either.

May I ask does the web server serve your browser an image if you click this link?
https://trainthebay.org/wp-content/uploads/2018/05/train_the_bay_horiztonal_white_simple-e1527020901895.png


sliu

May 22, 2018 at 3:39 pm

Hi Josh, the site is currently pw protected. How can I share the credentials with you?

————————–

Can you explain what you mean by “not working”? I’m sorry but we cannot access the page to see what’s happening there.

I used the function you provided, below, and many of the urls that previously pointed to /classes now point to /register.
function my_ee_mer_change_event_list_url( $url ){
$url = home_url( ‘/register’ );
return $url;
}

add_filter(
‘FHEE__EED_Multi_Event_Registration__set_definitions__events_list_url’,
‘my_ee_mer_change_event_list_url’
);

HOWEVER, on the “your cart is empty” page, which has the following content:
“NOTHING IN YOUR EVENT QUEUE
You need to select at least one event before you can proceed with the registration process.”, clicking on the link “select at least one event” still takes me to /classes instead of /register.

————————–

May I ask does the web server serve your browser an image if you click this link?
https://trainthebay.org/wp-content/uploads/2018/05/train_the_bay_horiztonal_white_simple-e1527020901895.png

Yes, the link works for me and pulls up the file which is a logo.

Thank you!


Josh

  • Support Staff

May 23, 2018 at 7:32 am

The thing about the link is, it doesn’t serve an image to me when I go to the URL in a browser, which may be why the script can’t access the image either.

The nothing in your event queue message is actually using a different template than the cart templates, so the code you added will not affect that link. Changing the link there will require an additional code snippet like this:

add_filter( 'FHEE__Single_Page_Checkout__display_spco_reg_form__empty_msg', 'my_custom_nothing_in_event_queue_message' );
function my_custom_nothing_in_event_queue_message() {
   return 'You need to select at least one event before you can proceed with the registration process. <a href="'.home_url( '/register' ) .'">Click here to go view the events.</a>'; 
}

You can send credentials via this secure form:
https://eventespresso.com/send-login-details/


sliu

May 23, 2018 at 11:08 am

Thank you Josh! I submitted credentials via the link you provided.


Josh

  • Support Staff

May 24, 2018 at 3:16 pm

Thanks, I followed up by email.

Viewing 12 reply threads

The support post ‘Check-out / Transaction / Mobile issues’ 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