Reply
Highlighted
Contributor
Posts: 10
Registered: ‎03-06-2013

SIM Relay Response

I am trying to integrate WordPress eShop plug-in with Authorize.net and have it working pretty well except for what appears to be 2 issues.

 

1.  It doesn't appear that I am receiving the relay response data from Authorize.net and am not sure how to verify if I am or not - currently...

                         a.  Form sending -  [x_relay_url] => http://www.smartessentials.com/shopping-cart/thank-you?eshopaction=authorizenetipn to the gateway.

                         b.  eShop Magic log - shows  - -- Recieved From Gateway -- empty.

                         c.  eShop shopping cart not clearing.

 

Questions: 1. What should I be setting up in settings for the Transaction Response section?  I have Relay  Response URL se to http://www.smartessentials.com/shopping-cart/thank-you?eshopaction=authorizenetipn.

                      2.  Should I be setting up a MD5Hash - currently it is set.

 

2.  Second e-Shop Thank You page is appearing, but it isn't rendering in my theme. 

 

Currently I have deactivated all plug-ins except for e-Shop and e-Shop Magic and am using the default them of Twenty 12.  Any help or suggestion on what to try to get this working would be greatly appreciated!  If I need to provide any more information please let me know. 

 

Tammy

Highlighted
Contributor
Posts: 10
Registered: ‎03-06-2013

Re: SIM Relay Response

I fotgot to say that I am using PHP.  The support at eshop has told me they think I have something setup wrong on my authorize.net. account.  I am new to PHP and not sure how to verify if I am getting a response back or not.

 

Thanks for any suggestions or help!  I have read the docs and the forum for 3 days now and have ended up confusing myself (LOL).

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: SIM Relay Response

After user hit submit on the CC entry screen does it show your relay response page or a error like

An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is a result of the attempt to charge your credit card.?

 

 

Highlighted
Contributor
Posts: 10
Registered: ‎03-06-2013

Re: SIM Relay Response

I appears that I get the response page, but the response arrary seems to be empty (based on the log) but I do get the following email -

 

************* TEST MODE *************

 

**Please DO NOT REPLY to this message. E-mail developer@authorize.net if you have any questions.

 

========= SECURITY STATEMENT ==========

It is not recommended that you ship product(s) or otherwise grant services relying solely upon this e-mail receipt.

 

========= GENERAL INFORMATION =========

 

Merchant : XXXXXXXXXXXXXXXX

Date/Time : 18-Mar-2013 10:42:54 EDT

 

========= ORDER INFORMATION =========

Invoice : 1418292193514727c3c5

Description : Purchase From SmartEssentials.com Amount : 26.90 (USD) Payment Method : Visa Type : Authorization and Capture

 

============== RESULTS ==============

Response : This transaction has been approved.

Authorization Code : 000000

Transaction ID : 0

Address Verification : AVS Not Applicable

 

witht he correct cutomer and shipping information.

 

Thanks!

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: SIM Relay Response

the whole array is empty? Can you post it? I see that it is running on test mode, so it wouldn't have transactionID.

Highlighted
Contributor
Posts: 10
Registered: ‎03-06-2013

Re: SIM Relay Response

Is there an Authorize.net tool I can use to see the array?  Right now I am using eshop magic. So I will post what I see from that below. 

 

-- Eshop Settings --

Array
(
    [addtocart_image] => img
    [base_brand] =>
    [base_condition] =>
    [base_expiry] =>
    [base_payment] =>
    [base_ptype] =>
    [business] =>
    [cart] => 609
    [cart_cancel] => 612
    [cart_nostock] => Out of Stock
    [cart_shipping] => 613
    [cart_success] => 611
    [checkout] => 610
    [credits] => no
    [cron_email] =>

    [currency_symbol] => $
    [currency] => USD
    [discount_shipping] =>
    [discount_spend1] =>
    [discount_value1] =>
    [discount_spend2] =>
    [discount_value2] =>
    [discount_spend3] =>
    [discount_value3] =>
    [downloads_hideall] => no
    [downloads_num] => 3
    [downloads_only] => no
    [etax] => Array
        (
            [0] =>
            [bands] => 1
            [unknown] =>
            [zonal] => 1
            [shipping] =>
        )

    [first_time] => no
    [fold_menu] => no
    [from_email] => info@smartessentials.com
    [hide_addinfo] => yes
    [hide_cartco] => no
    [hide_shipping] =>
    [image_in_cart] => 75
    [location] => US
    [method] => Array
        (
            [0] => authorize.net
        )

    [options_num] => 3
    [paypal_noemail] => yes
    [records] => 10
    [search_img] => no
    [set_cacheability] => no
    [shipping_state] => US
    [shipping_zone] => state
    [shipping] => 3
    [numb_shipzones] => 2
    [shop_page] =>
    [show_allstates] => 0
    [show_downloads] => 31
    [show_forms] => no
    [show_zones] => no
    [status] => testing
    [stock_control] => no
    [style] => yes
    [sysemails] =>
    [tandc] => Agree
    [tandc_id] =>
    [tandc_use] =>
    [unknown_state] => 1
    [version] => 6.3.9
    [state_location] =>
    [tax_symbol] => VAT
    [tax1] => 0
    [tax2] => 0
    [tax3] => 0
    [tax_method] => 1
    [xtra_help] =>
    [xtra_privacy] =>
    [sale] => no
    [min_qty] =>
    [max_qty] =>
    [cart_text] =>
    [cart_text_where] => 1
    [sale_prices] => 0
    [users] =>
    [users_text] =>
    [zero] => 1
    [details] => Array
        (
            [show] =>
            [class] =>
            [hide] =>
            [display] => no
            [tax] =>
        )

    [ajax_cart] => no
    [business_sec] => 
         [authorizenet] => Array
        (
            [developer] => 1
            [email] => trw@goodergroup.com
            [id] => xxxxxxxxxxxxxx

            [key] => xxxxxxxxxxxx

            [secret] => xxxxxxxxxx

            [desc] => Purchase From SmartEssentials.com
        )

                [ship_types] =>
    [weight_unit] =>
    [shipping_country_selected] => US
    [shipping_state_selected] => 47
    [tax] => 1
    [extra] => Array
        (
            [email] => trw@goodergroup.com
            [id] => xxxxxxxxxx

            [desc] => Purchase From SmartEssentials.com
        )

    [downloads_email] => yes
)


-- Sent To Gateway --

Array
(
    [process] => post
    [form_action] => eshopgateway
    [x_relay_response] => TRUE
    [x_relay_url] => http://www.smartessentials.com/shopping-cart/thank-you?eshopaction=authorizenetipn
    [x_version] => 3.1
    [x_test_request] => TRUE
    [x_first_name] => Tammy
    [x_last_name] => Risdon
    [x_company] =>
    [x_email] => trw@goodergroup.com
    [x_phone] => 703-698-7750
    [x_address] => 2724 Dorr Ave.
    [x_city] => Fairfax
    [x_state] => VA
    [x_zip] => 22072
    [x_country] => US
    [x_ship_to_company] =>
    [x_ship_to_address] => 2724 Dorr Ave.
    [x_ship_to_city] => Fairfax
    [x_ship_to_state] => VA
    [x_ship_to_postcode] => 22072
    [x_ship_to_country] => US
    [x_login] => xxxxxxxxxx

    [x_amount] => 26.90
    [x_description] => Purchase From SmartEssentials.com
    [x_invoice_num] => 1418292193514727c3c5
    [x_fp_sequence] => 246
    [x_fp_timestamp] => 1363617731
    [x_fp_hash] => d56e40c9bad59abf874f00045535a748
    [x_line_item] => item_s<|>Shipping<|><|>1<|>7.00<|>N
    [x_tax] => 0.95
)


-- Recieved From Gateway --

 

-----

 

Yes - I am trying to test with an authroize.net developer account.  Any other information you need?  Thanks for your help - I am at a loss.

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: SIM Relay Response

You can turn off test mode for a developer account, so the test transaction would show up on the test merchant account.

Even with test mode on, you should have got some response data. Where are you trying to recevied the data and how?

Highlighted
Contributor
Posts: 10
Registered: ‎03-06-2013

Re: SIM Relay Response

Also - a little later I get the below email - I think this email comes from Eshop:

 

Subject: Testing: authorizenet IPN - Invalid and Failed Payment Ref:

 

An instant payment notification was received

 

from     on 03/18/2013 at 3:50 PM

 

Details:

 

eshopaction: authorizenetipn

mycheckmd5: AF71A1BDD16D814F6D19FFBAFE498E52

mycheckedid: af71a1bdd16d814f6d19ffbafe498e52

payer_email:   

 

Regards, Your friendly automated response.

Highlighted
Contributor
Posts: 10
Registered: ‎03-06-2013

Re: SIM Relay Response

The test data should be going back to http://www.smartessentials.com/shopping-cart/thank-you?eshopaction=authorizenetipn.  As I stated I am using eShop and when the response page dispalys (I just have a download button displaying at this time on the page) - I choose show only content that is secure - the page shows, but not in my theme and the shopping cart does not clear.  If I choose show non secure content too - then my theme is displayed, but again the shopping cart does not clear. E-shop is telling me this is because I don't have something setup correctly at Authorize.net and that I am not getting the response data.  When I look at eshop magic I don't see anything in the response array.  I have tried testing this with all plug-ins disabled except for eshop and in the default - twenty twelve theme and the same thing happens.  Not sure what isn't setup correctly at authorze.net - unless it could be something with the MD5hash.  Anway to verify that I have things setup correctly?  Thanks again.

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: SIM Relay Response

You could change the x_relay_url to https://developer.authorize.net/tools/paramdump/index.php so you could at least see if there is any response from authorize.net

Read http://developer.authorize.net/tools/datavalidation/