Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Location
    Bristol, UK
    Posts
    5
    Plugin Contributions
    0

    Default Nochex. Can't identify the product purchased

    Hello.

    We noticed this problem with 1.3.7 and then upgraded to 1.3.8a to see if it has made any difference. No change.

    The problem is that we cannot identify which product has been purchased, there are no products listed if we look at an order.

    I set up the Nochex log and get this (xxx used for anonimity):

    -------------------------------------------

    Mon Sep 2008 16:56 -- APC Session Query: SELECT *
    FROM zen_nochex_sessions
    WHERE session_id = '00e6179f8171df4cde7d5851ad054ae4'


    $session_stuff = Array
    (
    [0] => zenid
    [1] => 00e6179f8171df4cde7d5851ad054ae4
    )


    Mon Sep 2008 16:56 -- APC INFO - POST VARS
    transaction_id=911661
    &transaction_date=29%2F09%2F2008+16%3A56%3A12
    &order_id=
    &amount=6.9900
    &from_email=xxx%40xxx.co.uk
    &to_email=xxx%40xxx.co.uk
    &security_key=be80806154ae49dabc2a2d7c64eec9e3
    &status=live
    &custom=zenid%3D00e6179f8171df4cde7d5851ad054ae4

    Mon Sep 2008 16:56 -- APC INFO - RESPONSE
    HTTP/1.1 200 OK
    Connection: close
    Date: Mon, 29 Sep 2008 15:56:26 GMT
    Server: Microsoft-IIS/6.0
    Content-Type: text/html
    Expires: -1
    Pragma: nocache
    Cache-control: no-store

    -----------------

    AUTHORISED

    Any ideas where to look please?

  2. #2
    Join Date
    Jul 2007
    Location
    Bristol, UK
    Posts
    5
    Plugin Contributions
    0

    Default Re: Nochex. Can't identify the product purchased

    Hello again.

    I've been looking at the code thinking it might be something to do with having no order number returned from Nochex.

    Looking at the Nochex record of the transaction there appears to be no order number sent with the order, so I went looking to find where it's generated.

    In nochex_apc.php at line 197 (function process_button()), it looks to create a hidden field 'order_id' but I can't identify where it gets the value from. That is: Where does $nochex_order_id originate from?

    $payment_fields[] = zen_draw_hidden_field('order_id', $nochex_order_id);


    Can anybody shed any light on this please?

 

 

Similar Threads

  1. Replies: 0
    Last Post: 14 Nov 2011, 07:49 PM
  2. can anyone identify this site...
    By mrbuzzsaw in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Jan 2010, 07:42 PM
  3. How can I display the categories of my products purchased?
    By bparker in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Nov 2009, 08:24 PM
  4. Can ZC validate previous order before new product can be purchased??
    By PB2009 in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 16 Aug 2009, 05:43 AM
  5. Can I send a coupon only when a particular product is purchased?
    By rstevenson in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 4
    Last Post: 3 May 2007, 03:13 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