Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    Default Securetrading Module Problem

    Hi all,

    I have downloaded(from Securetrading site) and installed the Securetrading payments module.

    The module is working fine apart from one problem.

    The zencart order id appears to be not being passed to the securetrading site which is causing the relevant forms and emails not to display it.

    From experience I've found it very usefull for the zencart order id to be displayed in the success and failure emails.

    Has anyone any advice or encountered this problem.... many thanks from a newbie.

  2. #2
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    application error Re: Securetrading Module Problem

    I think the code below is where the problem is.... Any help would be really appreciated.



    /*
    $last_order_id = $db->Execute("select * from " . TABLE_ORDERS . " order by orders_id desc limit 1");
    $new_order_id = $last_order_id->fields['orders_id'];
    $new_order_id = $new_order_id++;
    */

    $process_button_string = zen_draw_hidden_field('cmd', 'click') .
    zen_draw_hidden_field('merchant', 'yoursiteref1234') .
    zen_draw_hidden_field('merchantemail', '[email protected]') .//the email address you want the notifications of transactions sent to.
    zen_draw_hidden_field('orderref', $order_id) . zen_draw_hidden_field('customerid', $customer_id) .
    zen_draw_hidden_field('inputamount', round($order->info['total'],2)) .
    zen_draw_hidden_field('name', $order->billing['firstname'].' '.$order->billing['lastname']) .
    zen_draw_hidden_field('address', $order->billing['street_address'] . ', ' .$order->customer['suburb']) .//you can remove the suburb statement if you only want to show first line of address
    zen_draw_hidden_field('zenid',zen_session_id()) .
    zen_draw_hidden_field('town', $order->billing['city']) .
    zen_draw_hidden_field('county',$order->billing['state']) .
    zen_draw_hidden_field('country',$order->billing['country']['title']) .
    zen_draw_hidden_field('postcode', $order->billing['postcode']) .
    zen_draw_hidden_field('telephone',$order->customer['telephone']) .
    zen_draw_hidden_field('email', $order->customer['email_address']) .
    zen_draw_hidden_field('customeremail', '1') .
    zen_draw_hidden_field('callbackurl','1') .
    zen_draw_hidden_field('cancelurl', zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'))
    ;
    Last edited by pukman; 19 Dec 2007 at 09:53 PM. Reason: highlight code

  3. #3
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    application error Re: Securetrading Module Problem

    Beginning to understand a little and making a little progress but still stumped.

    If I'm correct the order id isn't being passed because it's not being created by the securetrading.php file.

    /*
    $last_order_id = $db->Execute("select * from " . TABLE_ORDERS . " order by orders_id desc limit 1");
    $new_order_id = $last_order_id->fields['orders_id'];
    $new_order_id = $new_order_id++;
    */

    The code has been commented out by C style multiline tags.

    I have tried to remove these but this causes during the checkout stage for it to fail. you can get onto the index.php?main_page=checkout_confirmation page (step 3 of 3) but the Final Step - continue to confirm your order. Thank you! and confirm the order button do not appear preventing you from being passed over to the securetrading site.

    If there is anyone who can help I would be very grateful.

  4. #4
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Securetrading Module Problem

    I don't know if this request is in the correct part of the forum - so I apoligise if it is in the wrong place But:-

    I am willing to pay for the development work to get the module working!

    I know its not going to be the biggest job in world but it's beyond my capabilities, hence my posts.

    Would anyone like to quote for it?

  5. #5
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Securetrading Module Problem

    I have spoken to support at securetrading and they informed me that they were aware of the problem and hence it being commented out.

    Although I don't know how to do it or how to fix it.... It surely must be possible to send the order id upto the payment gateway as so many other modules do?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Securetrading Module Problem

    Quote Originally Posted by pukman View Post
    zen_draw_hidden_field('orderref', $order_id)
    perhaps try changing this:
    zen_draw_hidden_field('orderref', $new_order_id)

    and uncomment the $new_order_id code you mentioned earlier.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Securetrading Module Problem

    Hi DrByte,

    I tried your suggestion but that didn't work. I was blocked at the confirm checkout page.

    I've been looking at the oscommerce module for securetrading. It's a totally different beast which I wish I could convert.

  8. #8
    Join Date
    Sep 2005
    Location
    Earth.
    Posts
    19
    Plugin Contributions
    0

    Default Re: Securetrading Module Problem

    SecureTrading have contacted me this week, to inform me that they now have an updated SecureTrading payment module for the latest ZenCart.

    According to their email: "It resolves several issues, namely multi-currency, multiple payment pages and more detailed order screen and link to SecureTrading transaction screens."

    Hope this helps whoever is struggling with the SecureTrading payment system. securetrading.com is their web site.

  9. #9
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Securetrading Module Problem

    Hi Palm,

    As soon as I saw your email I spoke to Securetrading...

    It's excellant news. They haven't made them available for download yet and have asked me to send an email request for them to be emailed to me.

    I'm not quite sure how the module will look but it has got to be better than the current module (I've always wanted something similar to the oscommerce module).

    I am currently using two securetrading accounts for two seperate companies.

    one is handling payments from a zencart site and an actinic site and one is handling payments from 4 zencart sites using the pipe system.

    I will be adding another two actinic sites to the account already handling 4 zencart sites.

    I have never had a problem with securetrading as a psp so my attitude tends to be don't fix something thats not broken and thats why I didn't look elsewhere.

  10. #10
    Join Date
    Sep 2005
    Location
    Earth.
    Posts
    19
    Plugin Contributions
    0

    database error Re: Securetrading Module Problem

    I can confirm that the latest SecureTrading payment module works with 1.3.8 of ZenCart.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. SecureTrading module - information is not passed trough
    By thewebdot in forum Addon Payment Modules
    Replies: 1
    Last Post: 6 Jan 2012, 04:18 AM
  2. How to set Back Page URL in SecureTrading?
    By tushar in forum Addon Payment Modules
    Replies: 4
    Last Post: 16 Jun 2011, 05:47 AM
  3. Purchase Module - Purchase Order Payment Module Problem
    By keewong in forum Addon Payment Modules
    Replies: 15
    Last Post: 14 Dec 2010, 12:19 AM
  4. Securetrading payment module
    By cosmicomic in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 23 May 2006, 05:17 PM

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