Forums / Addon Payment Modules / [Support Thread] Nochex APC

[Support Thread] Nochex APC

Views: 44,969

Results 61 to 80 of 144
26 Apr 2007, 9:36 AM
#61
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

[Support Thread] Nochex APC

DVDTitan:

Sorry one more thing.
Also after test transactions the nochex payment screen isnt going back to my own site.

If you do a transaction with the NoChex APC module in test mode NoChex will not return to your payment success screen. The only way to test it properly is to do a live transaction, NoChex should then return to the correct screen and the order should go through.

Regards,
Christian.

9 Jun 2007, 8:49 AM
#62
wadi73 avatar

wadi73

New Zenner

Join Date:
May 2007
Posts:
20
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Hi,

I am having a prob with customer orders showing up.

Customer pays with nochex:

Nochex worked fine on my testing mode. In live, I got a payment confirmation email from nochex, but zencart didn't show a new order. Neither did it send me an order confirmation email, like how I ususally get when someone pays with paypal IPN.

So I had to find the new customer, refer to the scant info on the nochex email, and manually work out how many books she had ordered, and what p+p she had chosen!

zencart shows in customers>costomers that I have a new customer, but displays under her name "Number of Orders: 0"

Even under Customers>Orders>
Her order doesn't show up.

The nochex order said:

Transaction Type: Xtra
Transaction Date: 08/06/2007 18:22:05
Transaction ID: ********************* Order ID:
Transaction Description: [NO MESSAGE ATTACHED]

Transaction Amount: £8.08
Postage & Packing: £0.00
Insurance: £0.00
Sub Total: £8.08
Transaction Charge: £0.44
Total Received: £7.64
Current Balance: £7.64

So my book is 3.50x2=£7, and she must have selected royal mail large leter £1.08)

I have a seller account.

These are my settings in admin?modules>payment

Enable Nochex Module
True

Nochex Email Address
@****.net

Nochex Account Type
Seller

Merchant ID

Payment Zone
UKZR: Zone 1 Mainland UK

Set Pending Notification Status
Pending [1]

Set Order Status
Processing [2]

Sort order of display.
0

Debug Mode
Off

Status Live/Testing
Live

**Customer Pays with Paypal IPN

**My latest customer who paid with paypal IPN, her order doesn't show up in customers>orders, even though I got an order confirmation email from zencart and paypal that the order had gone through. Previous customers who paid with paypal IPN, no probs at all.

I can see her order if I click on customers>customers
Her profile says Number of Orders: 1 Last Order: 06/03/2007
Total: £4.30

Any ideas :dontgetit

I did recently reduce the price of my product, and it is since then that the probs have started.

9 Jun 2007, 1:59 PM
#63
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [Support Thread] Nochex APC

Check in the Modules ... Order Total ... that Total ot_total is installed and active ...

Without this, the orders will not display ...

You can look up the order by the orders_id which is a good indicator that this is not installed or turned off ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Jun 2007, 4:15 PM
#64
wadi73 avatar

wadi73

New Zenner

Join Date:
May 2007
Posts:
20
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Thanks, it was off.

However, I just did a test transaction with nochex, and although I get the email confirmation from them, as a seller, and my test customer email gets a notification, zen cart still isn't recording the order.

It doesn't show up on a search by order no. either.

3 Aug 2007, 3:33 PM
#65
thecomicbookshop avatar

thecomicbookshop

New Zenner

Join Date:
Mar 2007
Location:
Kingston upon Hull, United Kingdom
Posts:
8
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

I just installed the Nochex APC module. It is receiving payments OK and recording an order in the cart however the order record contains no products, just a total price and correct postage options. No confirmation email is sent.

7 Aug 2007, 7:22 AM
#66
tellytart avatar

tellytart

New Zenner

Join Date:
Aug 2007
Posts:
2
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

I've just (a few minutes ago) uploaded a revised version of the nochex_apc payment module. I've corrected the bugs that prevented the seller account from working properly, correcting the posted variables to the new Nochex PPI specification, and corrected the bug that was causing the nochex_apc_admin_notification.php not to work properly. I only have a seller account, so have only been able to test that, however, the merchant account variables all appear to be correct.

It has also corrected the payment success and cancel functions so that nochex will now correctly redirect back to the site when payment has been processed.

The only thing I haven't been able to figure out yet is why it isn't passing the zencart order ID to nochex.

8 Aug 2007, 9:04 AM
#67
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Hi,

tellytart:

I've just (a few minutes ago) uploaded a revised version of the nochex_apc payment module.
Did you have a look at the code I posted here:
http://www.zen-cart.com/forum/showthread.php?t=64271
It might be of some use to you.

tellytart:

The only thing I haven't been able to figure out yet is why it isn't passing the zencart order ID to nochex.
From what I remember the order ID does note get created until the payment is authorised and the APC call back occurs. It's been a while since I looked at this though so I could be completely wrong about that.

Regards,
Christian.

8 Aug 2007, 12:29 PM
#68
carl avatar

carl

New Zenner

Join Date:
Dec 2006
Location:
France
Posts:
62
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Hi, Just want to say that I am using Ver 1.2 modded by Christian (cjpinder)
In April, it wasnt in the d/l section then, just followed his link. I followed instruction to the word and it works like a dream, i am very grateful.
I have merchant acc so cant say if probs with seeler acc. using on zen 1.3.2.
I notice now that it is in d/l section but revised by someone else, Richard Holland, dont know if this is any different, but not touching mine and my credit goes to CJpinder. Thank you.
Carl..

9 Aug 2007, 7:14 AM
#69
tellytart avatar

tellytart

New Zenner

Join Date:
Aug 2007
Posts:
2
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

The version I posted has updated all the seller account variables that are posted to Nochex to conform to their new PPI specification, and a couple of bug-fixes to allow the nochex_apc_admin_notifications.php file to work again!

9 Aug 2007, 8:50 AM
#70
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Hi,

tellytart:

The version I posted has updated all the seller account variables that are posted to Nochex to conform to their new PPI specification, and a couple of bug-fixes to allow the nochex_apc_admin_notifications.php file to work again!
That's what the existing v1.2 did. I probably should have put it up in the downloads section ages ago but I was waiting for more people to test it. Never mind, if your version does the same thing then all is well. Just a thought though, have you removed all the PayPal references in the code? The original NoChex module was based on the PayPal IPN module and the author left references to the PayPal settings in there. The transaction date was also broken in the v1.1 module and had to be fixed.

Regards,
Christian.

22 Aug 2007, 9:15 PM
#71
ned avatar

ned

New Zenner

Join Date:
Aug 2007
Posts:
5
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Hi,

I seem to be having a few issues with the NOCHEX apc modules at the moment.

I am using a merchant account.

I have been getting the following error via the APC debug emails:

APC FATAL ERROR::Could not establish fsockopen. Host Details = ssl://www.nochex.com:443

I thought I had fixed it by editing the nochex_handler_apc.php and changing the callback url to use http rather than https.

Test orders now go through fine without issue.

However live orders do not seem to get posted back to zen cart properly. I get redirected the the checkout success page and an order number is generated ok but it will not add any products into the order.

Everything seems fine on the order apart from it being void of products. Total cost/shipping e.t.c are all recorded ok.

Does anyone have any ideas on how I can fix this?

Thanks in advance.

23 Aug 2007, 9:08 AM
#72
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Hi,

Ned:

Everything seems fine on the order apart from it being void of products. Total cost/shipping e.t.c are all recorded ok.

Two things to check....

  1. In Admin, look under Modules... Order Total ... check that Total ot_total is installed and active.
  2. Upload the NoChex Payment Module in the attached zip file (v1.2.1) and try orders again. I'll know that you are using the exact same files that I am then and we can go from there.

Regards,
Christian.

23 Aug 2007, 10:17 AM
#73
ned avatar

ned

New Zenner

Join Date:
Aug 2007
Posts:
5
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Hi Christian,

Thanks for helping.

The ot_total module is installed and active.

I've uploaded the files in the zip and tried again.

I ran through a test transaction and a live transaction and I got this message:

APC FATAL ERROR::Could not establish fsockopen. Host Details = ssl://www.nochex.com:443

In the APC debug emails, and it has not put the order into the database at all.

I then edited the nochex_apc_handler.php (I'll change this back after testing so we are on the same files).

I've changed:

$callback_url = "https://www.nochex.com/nochex.dll/apc/apc";

to

$callback_url = "http://www.nochex.com/nochex.dll/apc/apc";

Ran through a test transaction and everything went though fine, order all ok in zen cart, products listed in the order.

Next I tried a live transaction, everything went through fine, except that the order shows no products :( so no difference really.

When doing the live test it doesn't seem to append the comments of the order with the "nochex payment received" message either.

23 Aug 2007, 10:46 AM
#74
ned avatar

ned

New Zenner

Join Date:
Aug 2007
Posts:
5
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Its very strange that it works fine for test transactions but not live ones.

Its almost if it is not processing these lines on live orders:

zen_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array);
$order->create_add_products($insert_id, 2);
$order->send_order_email($insert_id, 2);

but looking at the code I can't see why that would be the case, I know php but unfamiliar with zencart and how modules e.t.c work.

23 Aug 2007, 11:08 AM
#75
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Hi,

Ned:

I ran through a test transaction and a live transaction and I got this message:

APC FATAL ERROR::Could not establish fsockopen. Host Details = ssl://www.nochex.com:443
Looks like your host does not have SSL compiled into your PHP or is somehow blocking the outgoing SSL connection. Probably something you should talk to your host about (or change host).

Ned:

I've changed:
$callback_url = "https://www.nochex.com/nochex.dll/apc/apc";
to
$callback_url = "http://www.nochex.com/nochex.dll/apc/apc";

AFAIK, NoChex support both SSL and Non-SSL connections back for APC so that should work but it is not something I have tried before.

Ned:

Ran through a test transaction and everything went though fine, order all ok in zen cart, products listed in the order.

Next I tried a live transaction, everything went through fine, except that the order shows no products :( so no difference really.
Do you have PayPal IPN installed? The original NoChex APC module author based it on the PayPal IPN module and I think there are still some dependencies in there. If PayPal IPN is not installed and enabled could you do so and try again.

Regards,
Christian.

23 Aug 2007, 11:40 AM
#76
ned avatar

ned

New Zenner

Join Date:
Aug 2007
Posts:
5
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Fixed.

The PAYPAL IPN wasn't installed.

I've now installed it and set it to false (I don't want to take paypal yet).

It is now working.

Many thanks Christian, if you PM me your paypal email i'll send you a couple of beers :)

23 Aug 2007, 12:14 PM
#77
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Ned:

Fixed.
The PAYPAL IPN wasn't installed.
Cool. I tried removing the PayPal IPN dependencies in a previous version but I had a report that doing so caused the exact problem you've been experiencing. I'll have another go.

Ned:

I've now installed it and set it to false (I don't want to take paypal yet).
It is useful to have PayPal as an alternative card handler as NoChex has been known to randomly decline valid cards. I think PayPal UK have fixed the PayPal Account Optional setting as well now.

Ned:

It is now working.
:clap:

Ned:

Many thanks Christian, if you PM me your paypal email i'll send you a couple of beers :)
Glad it is now working for you. Thank you for the kind offer of the beers, better to send some coffee to the Zen Cart team though. They are powered by Coffee apparently. Especially Linda, have you seen the number of posts she makes each day? Must be drinking the extra strong stuff :P

Regards,
Christian.

23 Aug 2007, 12:22 PM
#78
ned avatar

ned

New Zenner

Join Date:
Aug 2007
Posts:
5
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

I shall send them a few coffees on your behalf :)

I'm using google checkout as an alternative, i've had very bad experiences with paypal just refunding customers willy nilly without any seller support at all.

9 Sep 2007, 12:45 AM
#79
e_hol_co_uk avatar

e_hol_co_uk

New Zenner

Join Date:
Mar 2006
Location:
Reading, Berkshire, U.K
Posts:
36
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Hi, guys I noticed some other posts with this error and apparently it worked after adding the 2 lines to the database_tables.php file in /includes. I have already added the values to the file under the last define and have executed the SQL in nochex_apc.sql to create the 2 tables via phpmyadmin and am having the following problem.

When trying to process a transaction through this module (Nochex apc 1.2) I get to step 3 of 3 (order confirmation) then at the bottom where confirm order button usually is it says:

1146 Table 'debiryin_zc1.zen_nochex_sessions' doesn't exist
in:
[delete from zen_nochex_sessions where session_id = '40f56a65ebccd1340e33cddd8a74cb43']

I have configured the module as follows:

Enable Nochex Module
True

Nochex Email Address
[email protected]

Nochex Account Type
Seller

Merchant ID

Payment Zone
--none--

Set Pending Notification Status
Pending [1]

Set Order Status
Pending [1]

Sort order of display.
0

Debug Mode
Log File

Status Live/Testing
Test

If it helps I installed Zencart through cpanel.

I would really appreciate your help as it is a clients site.

Thanks very much for your time,

Ian

10 Sep 2007, 9:36 PM
#80
pglad avatar

pglad

Zen Follower

Join Date:
Jun 2007
Posts:
198
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Hi, I've installed the Nochex mod and things appear to work fine. I would like to add my logo to the Nochex checkout page though as described on their site:

Logo parameter

This is an optional parameter that can be used to customize the NOCHEX checkout page to include your companies logo.

Example:
**logo=https://www.nochex.com/web/images/test_logo.gif **
Please can anyone tell me if I can do this and how to go about it?