Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: v151 Using UTP Payment module

    That log file contains no errors, just a bunch of PHP Notices, but the Notices are strange. Many items that should be set aren't.

    Which version of "Capture Type" do you have configured?

  2. #12
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: v151 Using UTP Payment module

    Is your site running with ENABLE_SSL set to 'true'?

  3. #13
    Join Date
    Mar 2015
    Location
    Scotland
    Posts
    24
    Plugin Contributions
    0

    Default Re: v151 Using UTP Payment module

    Hi

    Bit new to Zen Cart, what is "capture type"?

    As to the running with ENABLE_SSL set to 'true', yes it is.
    John Anderson
    My Hosting Site

  4. #14
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: v151 Using UTP Payment module

    Quote Originally Posted by HammurIT View Post
    Hi

    Bit new to Zen Cart, what is "capture type"?

    As to the running with ENABLE_SSL set to 'true', yes it is.
    Within the UTP module's configuration (Modules->Payment admin screen), there's a setting that is either Direct or Hosted.

  5. #15
    Join Date
    Mar 2015
    Location
    Scotland
    Posts
    24
    Plugin Contributions
    0

    Default Re: v151 Using UTP Payment module

    Quote Originally Posted by lat9 View Post
    Within the UTP module's configuration (Modules->Payment admin screen), there's a setting that is either Direct or Hosted.
    Hi, that setting is hosted.
    John Anderson
    My Hosting Site

  6. #16
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: v151 Using UTP Payment module

    Have you verified your Merchant ID and Signature values against the values in your mms?

  7. #17
    Join Date
    Mar 2015
    Location
    Scotland
    Posts
    24
    Plugin Contributions
    0

    Default Re: v151 Using UTP Payment module

    yes, we can get onto the payment form with no issue. Its just the coming back from a successful payment that the issue is with.
    John Anderson
    My Hosting Site

  8. #18
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,492
    Plugin Contributions
    88

    Default Re: v151 Using UTP Payment module

    I ran a test transaction using the credentials you PM'd. There's a database-related issue (WARNING: An Error occurred, please refresh the page and try again.) that occurs on the re-entry to the checkout_process page.

  9. #19
    Join Date
    Mar 2015
    Location
    Scotland
    Posts
    24
    Plugin Contributions
    0

    Default Re: v151 Using UTP Payment module

    Issue resolved. Many thanks for your help.

    When I looked at the database directly the table was names zen_utp. The code used to create was CREATE TABLE IF NOT EXISTS `utp` and the creation was run via the install sql patch option in zen cart. So this must have named the table "zen_utp". I dropped this table, and then created the table directly in the database and it all worked.
    John Anderson
    My Hosting Site

  10. #20
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: v151 Using UTP Payment module

    Quote Originally Posted by HammurIT View Post
    Issue resolved. Many thanks for your help.

    When I looked at the database directly the table was names zen_utp. The code used to create was CREATE TABLE IF NOT EXISTS `utp` and the creation was run via the install sql patch option in zen cart. So this must have named the table "zen_utp". I dropped this table, and then created the table directly in the database and it all worked.
    Glad to see that it has been resolved!

    That's an indication that the program (installation?) does not support DB_PREFIX which technically could be easily fixed, but unfortunately the plugin needs revision...

    Two ways it looks to resolve in includes/modules/payment/utp.php:
    Consideration 1) the preferred way is to have a define for TABLE_UTP such that it is defined as DB_PREFIX . 'utp'
    Code:
    define('TABLE_UTP', DB_PREFIX . 'utp');
    and that would basically be substituted as follows:
    Code:
    TABLE_UTP
    would replace
    Code:
    DB_PREFIX . 'utp'
    Code:
    TABLE_UTP . "
    would replace
    Code:
    DB_PREFIX . "utp
    the define might work in the __contstruct() function possibly as:
    Code:
    if (!defined('TABLE_UTP')) {
    define('TABLE_UTP', DB_PREFIX . 'utp');
    }
    but it is more consistent to place a file in each of the includes/extra_datafiles and admin/includes/extra_datafiles to provide the definition without the if statement...

    Consideration 2) modify the following line:
    Code:
    zen_db_perform('utp', $form_response_array);
    to be:
    Code:
    zen_db_perform(DB_PREFIX . 'utp', $form_response_array);
    and in the function admin_notification:
    Code:
    $sql = "SELECT * FROM utp WHERE zen_order_id = '$zf_order_id'";
    Change to:
    Code:
    $sql = "SELECT * FROM " . DB_PREFIX . "utp WHERE zen_order_id = '$zf_order_id'";
    in functions _doCapt and _doRefund:
    Code:
    $transaction_info = $db->Execute("SELECT * FROM utp WHERE zen_order_id = '$oID'");
    to:
    Code:
    $transaction_info = $db->Execute("SELECT * FROM " . DB_PREFIX . "utp WHERE zen_order_id = '$oID'");
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v150 PaymentSense Payment Module - Anyone using it?
    By ray-the-otter in forum Addon Payment Modules
    Replies: 0
    Last Post: 28 Mar 2012, 12:46 PM
  2. Payment does not process using PayJunction Payment module
    By David Canham in forum Addon Payment Modules
    Replies: 3
    Last Post: 20 Feb 2010, 06:20 PM
  3. Orders not showing in admin orders module - using Setcom SA payment module
    By brucehere in forum Managing Customers and Orders
    Replies: 7
    Last Post: 16 Nov 2007, 02:24 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