Support

Home Forums Event Espresso Premium Weird Problems

Weird Problems

Posted: July 5, 2013 at 12:51 pm


Gridtronics

July 5, 2013 at 12:51 pm

hello i am experiencing problems with some of the functions in this plugin.

1. E-xact Gateway ive entered in all the info from the the chase website and i can not get this gateway working nor can i change the button for the cc pic.

2. some issues with the pdf link in the confirm info email it sometime doesn’t fetch the information.


Dean

July 8, 2013 at 3:29 am

Hello Tommy,

In what way is the Exact gateway not working? Is it showing errors? Is it not appearing? Any additional info would be useful.

The image is a known bug, it is fixed in the next release. In the meantime you can add a URL to the image directly into the field rather than trying to upload one (so upload via Media first).

Regarding the PDF, again, do you have an example of this?


Gridtronics

July 9, 2013 at 1:11 pm

so i think ive identify the problem with the gateway, the plugin says the relay response is ‘x_relay_url’ : http://metrosafety.ca/?type=exact&page_id=46 when i fact the relay is http://metrosafety.ca/?page_id=48 and i can not change this any help is accepted


Josh

  • Support Staff

July 9, 2013 at 2:40 pm

Is it displaying that the relay response URL you posted in the little yellow box inside the Event Espresso>Payment settings under e-xact settings?

It may be that the transactions page and thank you page settings were swapped.

Although the links to the two pages you posted above appear to be working correctly.

There is another issue with the e-xact gateway in the current version that we’re currently working through. The registration ID isn’t getting passed to e-xact. The fix that we’re testing basically removes the code from lines 8-13 of /gateways/exact/init.php and adds the same code to after line 6 in /gateways/exact/exact_ipn.php. This is the code that gets moved:

if (!empty($_REQUEST['x_reference_3'])) {
    $temp_array = explode('|', $_REQUEST['x_reference_3']);
    $_REQUEST['registration_id'] = $temp_array[0];
    $_REQUEST['type'] = $temp_array[1];
}


Gridtronics

July 9, 2013 at 2:44 pm

one more problem ive found or im not doing something correctly when we add a person manually its not putting a price attached to there ticket its say 0.00


Josh

  • Support Staff

July 9, 2013 at 2:51 pm

Are you entering anything in the field that’s labeled “Amount Paid” ?


Gridtronics

July 9, 2013 at 3:16 pm

no


Josh

  • Support Staff

July 9, 2013 at 4:06 pm

That’s why it’s 0.00. You can enter a ticket price when you add an attendee manually so it won’t be 0.00.


Gridtronics

July 9, 2013 at 4:27 pm

i see thanks


Josh

  • Support Staff

July 9, 2013 at 5:52 pm

You’re welcome.


Gridtronics

July 10, 2013 at 8:02 pm

OK back to the gateway, the yellow box shows the wrong relay page and every time a cc tries it shows this error “The following error was found:

x_relay_url : Invalid x_relay_url. Must be the same as configured for the payment page

The parameters of the request are

‘x’ : 56
‘x_address’ : 2772 Cultus Court
‘x_amount’ : 75.05
‘x_city’ : Coquitlam
‘x_cust_id’ : 321
‘x_description’ : OFA 1 July 13, 2013 | Reg. ID: 321 | Name: Zane Jiwa N/A | Total Registrants: 1
‘x_email’ : canucks_27@hotmail.com
‘x_first_name’ : Zane Jiwa
‘x_fp_hash’ : c1e723db05294e31d1aa29b3381d5210
‘x_fp_sequence’ : 321
‘x_fp_timestamp’ : 1373335830
‘x_invoice_num’ : nrnccvieef678he8ccufje45c4-51db6f75d16ec7.76429974
‘x_last_name’ : N/A
‘x_login’ : WSP-METRO-ToFh6AAJpg
‘x_logo_url’ : http://metrosafety.ca/wp-content/uploads/2013/04/MetroSafetyLogo.png
‘x_reference_3’ : 37-51db70c7028da|exact
‘x_relay_response’ : TRUE
‘x_relay_url’ : http://metrosafety.ca/?type=exact&page_id=46
‘x_show_form’ : PAYMENT_FORM
‘x_state’ : BC
‘x_zip’ : V3C 5A8
‘y’ : 37″
this should read
‘x_relay_url’ : http://metrosafety.ca/?type=exact&page_id=48


Josh

  • Support Staff

July 11, 2013 at 8:46 am

http://metrosafety.ca/?type=exact&page_id=46 should be the x_relay_url because it’s pointing to the thank you page. If you cannot change this on the e-xact account side, you can swap the Thank You and Transactions pages to accomodate this.

Swapping the two pages involves exchanging the shortcodes and updating the settings in Event Espresso>General settings.

You can make the Thank You (46) page into a transactions page (48).

So the Thank you page becomes page_id=48 and the transactions page becomes page_id=46.


Gridtronics

July 12, 2013 at 11:06 am

ok so i have to add the following code after line 6 and remove code from 8-13


Josh

  • Support Staff

July 12, 2013 at 1:23 pm

Yes, and to be sure, you can remove the code from lines 8-13 of /gateways/exact/init.php and add the same code to after line 6 in /gateways/exact/exact_ipn.php


Gridtronics

July 18, 2013 at 2:14 pm

ok i have edited the code from the suggestion however i still get this error after the payment has been processed “There was a problem finding your Registration ID” So the payment is Going Through but the event system is not updating the payment record what do i do know


Josh

  • Support Staff

July 19, 2013 at 8:59 am

Hi Tommy,

Here’s a zipped up copy of the updated e-xact gateway. You can unzip it and upload it in place of the /wp-content/event-espresso/gateways/exact folder that’s on your site right now.


Gridtronics

July 20, 2013 at 8:50 am

so an update i have input the code in the correct files and am no longer seeing the error however it still does not pass the approved payment status to the student payment records any ideas it said moving to the transaction page and them nothing it when to the homepage instead


Gridtronics

July 20, 2013 at 8:51 am

sorry didnt see the zip file i will try and upload and test


Gridtronics

July 20, 2013 at 8:59 am

That Worked, It passed the Info Like it Should Have, there is still one issue i need to address, what line/ file is responsible for sending the [lname] feild to the gate way i need to comment this out as we use the [lname] feild for company name. thanks, the one last thing it sent me to the transaction page but it was smashed together with a sitemap is this a internet issue?


Josh

  • Support Staff

July 23, 2013 at 7:57 am

Hi Tommy,

That’s in exact_vars.php and it should be around line 48.

You might want to double check the transactions and thank you pages and verify that they have the correct shortcodes and are set in Event Espresso>General Settings>Page settings correctly. There is more information about how these are set up in the documentation:

https://eventespresso.com/wiki/the-basic-settings/#page

The support post ‘Weird 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