Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2012
    Posts
    12
    Plugin Contributions
    0

    Default Changing Payment Gateway: Where can I find the correct template to replace the URL?

    I am assisting my friend with her ZenCart. She was notified today that she needed to change the URL for the gateway as they are no longer supporting SSL and are moving on Tuesday the 19th to TSR. The gateway is equitycommercegateway.com for the company NMI. In their instructions, they say the following:
    We have designed our gateway to be able to handle transaction submissions and responses in the Authorize.Net format. We call this our Gateway Emulator.

    To use the Gateway Emulator, your shopping cart or application must support the Authorize.Net AIM or SIM method of integration. If the application supports the AIM or SIM method, you simply need to change the transaction POST URL to our Gateway Emulator URL.
    Our Gateway Emulator URL is:
    AIM: https://secure.equitycommercegateway...y/transact.dll
    SIM: https://secure.equitycommercegateway.com/cart/ausi.php

    You will need to change any production and test Authorize.Net URLs to one of the above URLs. The following URLs should be replaced:
    https://secure.authorize.net/gateway/transact.dll
    https://test.authorize.net/gateway/transact.dll

    Some applications will not contain the test URL. In that case, you will only be changing one URL. Once you have updated the URLs to point to us, the application will submit transactions without needing changes to the code base.
    Some applications will not contain the test URL. In that case, you will only be changing one URL. Once you have updated the URLs to point to us, the application will submit transactions without needing changes to the code base.

    You will then need to configure the Authorize.Net AIM or SIM payment module with the following credentials:
    <snip>

    I ran a test and this is the error log it produced:
    May-15-2015 01:03:22
    =================================

    Response Code: 3.
    Response Text: The cc payment type [Hipercard] and/or currency [USD] is not
    accepted REFID:3155688881

    Sending to Authorizenet: Array
    (
    [x_login] => *******
    [x_tran_key] => *******
    [x_relay_response] => FALSE
    [x_delim_data] => TRUE
    [x_delim_char] => |
    [x_encap_char] => *
    [x_version] => 3.1
    [x_type] => AUTH_CAPTURE
    [x_method] => CC
    [x_amount] => 1,494.10
    [x_currency_code] => USD
    [x_card_num] => XXXXXXXXXXXXX0027
    [x_exp_date] => 0515
    [x_card_code] => ****
    [x_email_customer] => FALSE
    [x_email_merchant] => FALSE
    [x_cust_id] => 22
    [x_invoice_num] => TEST-238-PAYbag
    [x_first_name] => XXXX
    [x_last_name] => XXXX
    [x_company] =>
    [x_address] => XXXX
    [x_city] => XXXX
    [x_state] => XXXX
    [x_zip] => XXXX
    [x_country] => XXXX
    [x_phone] => XXXX
    [x_email] => XXXX
    [x_ship_to_first_name] => XXXX
    [x_ship_to_last_name] => XXXX
    [x_ship_to_address] => XXXX
    [x_ship_to_city] => XXXX
    [x_ship_to_state] => XXXX
    [x_ship_to_zip] => XXXX
    [x_ship_to_country] => XXXX
    [x_description] => Horse ID Collars - Double Sleeve (qty: 50) +
    Embroidered Fetlock ID Bands (qty: 1)
    [x_recurring_billing] => NO
    [x_customer_ip] => 76.175.224.129
    [x_po_num] => May-15-2015 01:03:21
    [x_freight] => 110.40
    [x_tax_exempt] => FALSE
    [x_tax] => 114.25
    [x_duty] => 0
    [x_allow_partial_Auth] => FALSE
    [Date] => May 15, 2015, 1:03 pm
    [IP] => 76.175.224.129
    [Session] => 5c2eblqec6jr0nhgfp4cufd643
    [x_test_request] => TRUE
    [url] => https://secure.nmi.com/gateway/transact.dll
    )


    Results Received back from Authorizenet: Array
    (
    [0] => Response from gateway
    [1] => 3
    [2] => 0
    [3] => 122
    [4] => The cc payment type [Hipercard] and/or currency [USD] is not
    accepted REFID:3155688881
    [5] =>
    [6] => P
    [7] => 0
    [8] => TEST-238-PAYbag
    [9] => Horse ID Collars - Double Sleeve (qty: 50) + Embroidered Fetlock
    ID Bands (qty: 1)
    [10] => 1494.10
    [11] => CC
    [12] => auth_capture
    [13] => 22
    [14] => first
    [15] => last
    [16] =>
    [17] => street
    [18] => city
    [19] => state
    [20] => zip
    [21] => country
    [22] => phone
    [23] =>
    [24] => email
    [25] => first name
    [26] => last name
    [27] =>
    [28] => street
    [29] => city
    [30] => state
    [31] => zip
    [32] => country
    [33] => 114.25
    [34] => 0
    [35] => 110.40
    [36] => FALSE
    [37] => May-15-2015 01:03:21
    [38] => 1B713CCCEA800D7177DE1321B1410136
    [39] => P
    [40] =>
    [Expected-MD5-Hash] => 1B713CCCEA800D7177DE1321B1410136
    [HashMatchStatus] => PASS
    )


    CURL communication info: Array
    (
    [url] => https://secure.nmi.com/gateway/transact.dll
    [content_type] => text/html; charset=UTF-8
    [http_code] => 200
    [header_size] => 158
    [request_size] => 207
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.60233
    [namelookup_time] => 0.024393
    [connect_time] => 0.077727
    [pretransfer_time] => 0.264918
    [size_upload] => 1121
    [size_download] => 564
    [speed_download] => 936
    [speed_upload] => 1861
    [download_content_length] => 564
    [upload_content_length] => 1121
    [starttransfer_time] => 0.319858
    [redirect_time] => 0
    [certinfo] => Array
    (
    )

    [primary_ip] => 104.192.33.49
    [primary_port] => 443
    [local_ip] => 50.87.65.26
    [local_port] => 38285
    [redirect_url] =>
    )


    RAW data received:
    *3*|*0*|*122*|*The cc payment type [Hipercard] and/or currency [USD] is not
    accepted REFID:3155688881*|**|*P*|*0*|*TEST-238-PAYbag*|*Horse ID Collars -
    Double Sleeve (qty: 50) + Embroidered Fetlock ID Bands (qty: 1)
    *|*1494.10*|*CC*|*auth_capture*|*22*|*XXXX*|*XXXXX*|**|*XXXXX*|*XXXX*|*XXXXX*|*X XXXX*|*XXXXX*|*XXXXX*|**|*XXXXX*|*XXXXX*|*XXXXX*|**|*XXXXX*|*XXXXX*|*XXXX*|*XXXX X*|*XXXXX*|*114.25*|*0*|*110.40*|*FALSE*|*May-15-2015
    01:03:21*|*1B713CCCEA800D7177DE1321B1410136*|*P*|**


    Where can I find the correct template to replace the URL?

    Any help would be greatly appreciated as this needs to be done by Tuesday or she will start loosing orders!

    Thanks,
    Pam

  2. #2
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Changing Payment Gateway: Where can I find the correct template to replace the UR

    So it's not so much a template or template file that is involved.

    Payment plugins are found in: includes/modules/payment with language files associated in includes/languages/YOUR_LANGUAGE/YOUR_TEMPLATE/payment

    That said, that site is using ZC version 1.3.9h which is way more than 3 years old... Would highly advise upgrading the site to ZC 1.5.4 to take advantage of the newer code suitable for purchases including incorporation of the POODLE fix. Otherwise, there might be some suggestions about how to patch the payment processing software to work until the upgrade can be performed.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2012
    Posts
    12
    Plugin Contributions
    0

    Default Re: Changing Payment Gateway: Where can I find the correct template to replace the UR

    Thanks! I found the answer here:
    http://www.zen-cart.com/showthread.p...yment-security

    I would upgrade ZenCart for her, but we made some changes that I wouldn't know how to save in the upgrading process and she doesn't have the time that I would need to take her business offline to effect the change.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Changing Payment Gateway: Where can I find the correct template to replace the UR

    Quote Originally Posted by pgram View Post
    Thanks! I found the answer here:
    http://www.zen-cart.com/showthread.p...yment-security

    I would upgrade ZenCart for her, but we made some changes that I wouldn't know how to save in the upgrading process and she doesn't have the time that I would need to take her business offline to effect the change.
    Follow this process (from Dr. Byte) for the upgrade. Literally takes maybe 2 minutes of downtime to actually effect the upgrade. Anything more than that is for testing purposes.

    http://www.zen-cart.com/entry.php?3-...d-of-upgrading

    As far as changes. Well: compare a brand spanking new copy to the copy on the server, duplicate the changes to a brand spanking new copy using the process above. Do it all in a sub-domain, get it working and looking as desired, then make changes to the configure.php files and rearrange the files to be the new active site. Tada.. (But seriously follow the instructions, above is quite a bit oversimplified.) Live site remains online while new site is developed.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Replies: 1
    Last Post: 31 Aug 2012, 10:36 AM
  2. v150 Where can I find the file to edit product listing template ?
    By hagohn in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 18 Aug 2012, 07:28 AM
  3. HELP!: How can I find the correct name of the correct Handler page?
    By bongobayfusion in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 18 Jan 2012, 10:00 PM
  4. Where can i find the files that let me customize my template?
    By damiancds in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Apr 2010, 04:44 PM
  5. I have created a product list and can't find the URL to link to the products.
    By upperRoomTickets in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 14 Mar 2010, 09:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR