Support

Home Forums Event Espresso Premium Eway payment issue

Eway payment issue

Posted: December 5, 2013 at 2:43 pm

Viewing 9 reply threads


voicecom

    December 5, 2013 at 2:43 pm

    Hi there,

    I’m getting a problem with the Eway payment gateway.

    I’d link you to the registration page, but it’s currently offline due to my trying to fix it.

    It seems I can register just fine, but when on the Payment Overview page I try to click on the Eway payment option, it takes me to this URL: http://www.whitehillclassic.co.nz/hello-world/?value=t&x=94&y=29

    which just shows me the blog post.

    Event Espresso version: 3.1.36.1.P (recently upgraded from a much older version – 3.1.15.P which was giving a similar issue)
    WordPress version: 3.7.1

    Any ideas to fix?


    Dean

    • Support Staff

    December 6, 2013 at 4:40 am

    Hi,

    Without seeing the site I have a fairly limited idea of what is going on, but I’ll help the best I can.

    Is this for Eway or Eway Rapid?

    Have you modified any of the template files including the gateways?

    Have you tried turning off the Payment gateways (Event Espresso > Payment Gateways), then deactivating the plugin, reactivating the plugin and then reactivating the gateways? This might refresh the settings in the database.


    voicecom

      December 8, 2013 at 1:01 pm

      Hi there Dean, thank you so much for your reply!

      I have enabled the site so that you can see it – here is a registration page: http://www.whitehillclassic.co.nz/event-registration/?ee=3

      No template files have been modded although I recently upgraded from a much older version that had been giving a similar problem (it was suggested to me that upgrading might fix the problem).

      And yes, I have tried deactivating the payment, then the plugin, then reactivating plugin and payment again.

      It is Eway that we are using here, not Rapid.


      Josh

        December 9, 2013 at 9:03 am

        Hi there,

        I ran a quick test registration and can see that it’s redirecting to that hello world post. This looks like there may be security plugin that’s doing the redirection. If you have any plugins that handle security or SEO you may be able to change their settings that will disable the redirection.


        voicecom

          December 9, 2013 at 1:09 pm

          Thanks for that Josh! I did have a security and a SEO plugin – deactivated both, and the problem still occurs. I have since deactivated all plugins except for EE and tested, still no fix unfortunately.


          Josh

            December 9, 2013 at 3:13 pm

            What can happen is if you merely deactivate these plugins it may not fix the issue if they’ve added special redirection rules to the site’s .htacess file. You’ll want to check the .htaccess file and be sure that there aren’t redirection rules beyond the normal WordPress permalink rewrite rules, which look like this:

            http://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29

            If there are more rules than what’s normally added by WordPress core, you can check with the plugin developer whose plugin added additional rules.


            voicecom

              December 9, 2013 at 3:19 pm

              I actually cleared the htaccess after removing the plugins, sorry I didn’t mention. I’ve done it once more and tested the registration again, still redirects to the blog post unfortunately.


              Sidney Harrell

              • Support Staff

              December 9, 2013 at 6:17 pm

              The way eWay works, it performs a transaction with the eway server before the page with the button is loaded, and uses the result of that transaction to populate the url the button takes you to. When the button malfunctions, it usually indicates a problem with that transaction, typically with the ID or Username. To find out exactly what the problem is, you can open up gateways/eway/eway_vars.php and change line 59 from:

              $response = curl_exec($ch);

              to:

              $response = curl_exec($ch);var_dump($response);


              voicecom

                December 10, 2013 at 1:19 pm

                Thanks for that – I didn’t find the line in eway_vars.php, but I did find it in ewaypaymentprocess.php. Unfortunately the change didn’t seem to work, same problem.

                So you think it might be a problem with the eWay ID or Username that the client has in the Payment settings? I will contact the client to ensure that the information there is correct.


                voicecom

                  December 10, 2013 at 4:32 pm

                  Thanks for all your help! After all that, I found that the client had changed the email for their Eway account – and they hadn’t updated this in the Payment Settings yet. Bit of an anti-climax, but it seems to work now.

                  Thank you so much for your help on this issue. Merry holiday season and Happy New Year, guys!

                  Viewing 9 reply threads

                  The support post ‘Eway payment issue’ 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 - Staging Server