Support

Home Forums Event Espresso Premium A Few problems

A Few problems

Posted: January 28, 2013 at 2:02 pm


rafal napierala

January 28, 2013 at 2:02 pm

Hello,

I am having a few problems with Event espresso:

  1. After the registration of new attendee to my event the event espresso is
    sending the registration confirmation to that person bot isn’t sending the ticket
    The mail with the ticket + invoice is being send to the admin of the page.

  2. The payments are registered with realex and they work well so far however the payment text fields for credit card details are aligned to the left (realex payment page) and after the payment is done it redirects back to my website and the whole website becomes aligned to the left instead of center. Is it realex issue?
  3. The toggle button doesn’t work for adding more attendees .


rafal napierala

January 28, 2013 at 2:03 pm

Could you please help me with above


Jonathan Wilson

January 28, 2013 at 3:31 pm

Hello Rafal,

Sorry for the delay. It is possible that you have outdated template files inf your uploads/espresso/templates directory. You can rename that directory either via FTP or by going to Template Settings in Event Espresso. Can you try that and let us know if that resolved the issue?


rafal napierala

January 29, 2013 at 3:32 am

Sorry but I never moved them to that folder in the first place. Will I move them so? They are still at /wp-content/plugins/event-espresso/templates/


rafal napierala

January 29, 2013 at 4:02 am

OK, I have done it but nothing fixed. E-mail with ticket not being sent, toggle button doesn’t work


rafal napierala

January 29, 2013 at 6:01 am

Hello again, I think the toggle is ok as I use the shopping card however still no tickets sent.

another thing i noticed if the transaction is not aproved I am getting message back: string(81) “An instant payment notification failed from on 01/29/2013 at 12:59 PM Details: ” array(20) { [“MERCHANT_ID”]=> string(11) “toughathlon” [“ORDER_ID”]=> string(3) “103” [“AMOUNT”]=> string(3) “050” [“TIMESTAMP”]=> string(14) “20130129125917” [“SHA1HASH”]=> string(40) “6edb1e59aebfce7a439bf632e503a1bc69f4371d” [“RESULT”]=> string(3) “101” [“ACCOUNT”]=> string(8) “internet” [“AUTHCODE”]=> string(0) “” [“MESSAGE”]=> string(8) “DECLINED” [“PASREF”]=> string(17) “13594643846297092” [“AVSPOSTCODERESULT”]=> string(1) “U” [“AVSADDRESSRESULT”]=> string(1) “U” [“CVNRESULT”]=> string(1) “N” [“BATCHID”]=> string(2) “-1” [“REG_ID”]=> string(15) “1-5107c09e499c9” [“type”]=> string(8) “realauth” [“x”]=> string(3) “104” [“y”]=> string(2) “32” [“pas_uuid”]=> string(32) “d3362d6808634616ba8460e017026c41” [“registration_id”]=> string(15) “1-5107c09e499c9” } on my website


Josh

  • Support Staff

January 29, 2013 at 9:59 am

Hi Rafal,

I’ll try to help you with each one of your issues. First though, if you copied files over to /wp-content/uploads/espresso/templates, please remove them. They should not have been copied over for the sake of copying them over.

After the registration of new attendee to my event the event espresso is
sending the registration confirmation to that person bot isn’t sending the ticket
The mail with the ticket + invoice is being send to the admin of the page.

You can add the ticket link to the confirmation email by placing this shortcode in the email editor:

[ticket_link]

The payments are registered with realex and they work well so far however the payment text fields for credit card details are aligned to the left (realex payment page)

Can you try activating the themeroller options in Event Espresso>Template settings? This is usually a WordPress theme issue, but the themeroller may help.

and after the payment is done it redirects back to my website and the whole website becomes aligned to the left instead of center. Is it realex issue?

With Realex, you’ll need to send them a return page template, and you can base it off of your WordPress theme. They may have some sample templates that you can use as an alternative.

The toggle button doesn’t work for adding more attendees.

That’s probably a JavaScript error from the theme. Can you see if this happens if you switch temporarily to the twentytwelve theme? That will rule out whether it’s the WordPress theme or something else.

another thing i noticed if the transaction is not aproved I am getting message back: string(81) “An instant payment notification failed from on 01/29/2013 at 12:59 PM Details: ”

That’s related to issue #2, basically, you’re missing the email hook which is in the .30 prerelease on line 40 of realauthprocesspayment.php. Here is the relevant code:

    } else {
        $subject = 'Instant Payment Notification - Gateway Variable Dump';
        $body = "An instant payment notification failed\n";
        $body .= "from " . " on " . date('m/d/Y');
        $body .= " at " . date('g:i A') . "\n\nDetails:\n";
        var_dump($body);
        var_dump($_REQUEST);
        //wp_mail($payment_data['contact'], $subject, $body);
    }
    add_action('action_hook_espresso_email_after_payment', 'espresso_email_after_payment');
    return $payment_data;
}

You could try uncommenting out the line where it says:

//wp_mail($payment_data['contact'], $subject, $body);

so it says:

wp_mail($payment_data['contact'], $subject, $body);


rafal napierala

January 29, 2013 at 11:23 am

Hello,

Thank you for you help – you are very good Josh!
1. the payment confirmation works !!! Thanks
2. toggle button – i am not going to use it. I go with shipping card.
3. The website is now aligned to the center – themeroller on and I asked realex to center their text boxes
4. The last issue I have is – this is how the website looks like when the card is rejected http://toughathlon.ie/sample.jpg


rafal napierala

January 29, 2013 at 11:32 am

shopping card, sorry typo 😉


Josh

  • Support Staff

January 29, 2013 at 5:40 pm

Hi Rafal,

You can try commenting out the IPN Gateway Variable dump code near the end of realauthprocesspayment.php like so:

    /*$subject = 'Instant Payment Notification - Gateway Variable Dump';
    $body = "An instant payment notification failed\n";
    $body .= "from " . " on " . date('m/d/Y');
    $body .= " at " . date('g:i A') . "\n\nDetails:\n";
    var_dump($body);
    var_dump($_REQUEST);
    wp_mail($payment_data['contact'], $subject, $body);*/


Josh

  • Support Staff

January 29, 2013 at 5:45 pm

Actually, you probably want an email sent if there’s a declined credit card. In that case, you’ll only comment out the two lines that start with var_dump like so:

//var_dump($body);
//var_dump($_REQUEST);

The support post ‘A Few problems’ 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