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

[Support Thread] Nochex APC

Views: 44,969

Results 81 to 100 of 144
3 Oct 2007, 4:26 PM
#81
pglad avatar

pglad

Zen Follower

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

[Support Thread] Nochex APC

Well I've carefully read every post in this thread, put into practise the suggestions made and still I cannot get this mod to work.

The transaction is made, Nochex take the money from my account, but no trace of the order appears on the site and the customer gets no details of their order or any information in their account. The only e-mail received is from Nochex confirming that an order has been made but with no details other than the customers name, address and order amount.

Can anyone please help with this? As my site sells adult products I am not allowed to use Paypal so without the Nochex mod all my months of work will be for nothing!

Patrick.:cry:

3 Oct 2007, 5:38 PM
#82
cjpinder avatar

cjpinder

Totally Zenned

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

Re: [Support Thread] Nochex APC

PGlad:

The transaction is made, Nochex take the money from my account, but no trace of the order appears on the site and the customer gets no details of their order or any information in their account.

Is the PayPal IPN payment module installed? At the moment the NoChex module needs the PayPal IPN module to be installed, it doesn't have to be enabled though.

The site in your signature isn't a Zen Cart site so I'm assuming you're developing a new site on a test system?

You should also check that nochex_apc_handler.php is in the top directory of your store and is accessible from the outside world. Your webserver will need to be able to make outbound HTTPS connections as well.

If you are using any of the pretty URL mods then try disabling them.

Hope that helps.

Regards,
Christian.

3 Oct 2007, 6:20 PM
#83
pglad avatar

pglad

Zen Follower

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

Re: [Support Thread] Nochex APC

Ah, I think I know where the problem may be. Everything is as it should be as far as your conditions go, apart from maybe nochex_apc-handler.php

The site isn't actually live, but it is on the server in a subdirectory of my current site during development. So although nochex_apc-handler.php is at the root of my Zencart site, (e.g. www.divasextoys.co.uk/shop) it is not yet at the root of the domain (www.divasextoys.co.uk) Do you think this is why it's not working properly?

4 Oct 2007, 6:46 AM
#84
big_john avatar

big_john

New Zenner

Join Date:
Oct 2006
Posts:
2
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Unless you have specifically been told they will accept you I'd be careful about using NC for your site. Over the past few years they have closed down just about every site of an 'adult' nature including toy and lingerie sites.

It's only recently that a few big players with lingerie style sites and a amsattering of toys have been allowed to process via Nochex again with agreement from them. Even head shops have been a target over the past 12 months, something that has never been a problem until then.

That said we gave up using Nochex some time back sadly. The continuing decline in service, mistakes and bugs and general incompetence meant that it was costing us far too much in lost sales and disgruntled customers. A shame as they used to be the best Paypal alternative around for a small business.

4 Oct 2007, 10:35 AM
#85
cjpinder avatar

cjpinder

Totally Zenned

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

Re: [Support Thread] Nochex APC

PGlad:

The site isn't actually live, but it is on the server in a subdirectory of my current site during development. So although nochex_apc-handler.php is at the root of my Zencart site, (e.g. www.divasextoys.co.uk/shop) it is not yet at the root of the domain (www.divasextoys.co.uk) Do you think this is why it's not working properly?

That shouldn't be causing a problem. The nochex_apc-handler.php file will need to be in the /shop directory (i.e. the root of your Zen Cart installation). I've not actually tried using it when Zen Cart is in a sub-directory though so I will have to have a poke around in the code and see if there are any issues. Do the orders come through when you run in test mode?

Regards,
Christian.

4 Oct 2007, 10:44 AM
#86
cjpinder avatar

cjpinder

Totally Zenned

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

Re: [Support Thread] Nochex APC

Big_John:

Unless you have specifically been told they will accept you I'd be careful about using NC for your site. Over the past few years they have closed down just about every site of an 'adult' nature including toy and lingerie sites.
From what I have read on their own forums, they seem to have a habit of freezing people's accounts if they have any issues with your business.

Big_John:

The continuing decline in service, mistakes and bugs and general incompetence meant that it was costing us far too much in lost sales and disgruntled customers.
Yes, been through the same thing with them. Had issues with PayPal UK as well though. 3rd party payment processors seem very enticing when you are first starting up but in the end you can't beat having your own internet merchant account.

Regards,
Christian.

5 Oct 2007, 6:53 AM
#87
pglad avatar

pglad

Zen Follower

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

Re: [Support Thread] Nochex APC

CJPinder:

That shouldn't be causing a problem. The nochex_apc-handler.php file will need to be in the /shop directory (i.e. the root of your Zen Cart installation). I've not actually tried using it when Zen Cart is in a sub-directory though so I will have to have a poke around in the code and see if there are any issues. Do the orders come through when you run in test mode?

Thanks for that. The orders do not show up in either testing or live mode.

5 Oct 2007, 6:57 AM
#88
pglad avatar

pglad

Zen Follower

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

Re: [Support Thread] Nochex APC

Big_John:

Unless you have specifically been told they will accept you I'd be careful about using NC for your site. Over the past few years they have closed down just about every site of an 'adult' nature including toy and lingerie sites.

Thanks for the warning. I've actually been using Nochex for several years but only on a very small scale, perhaps if my new site takes off I might get noticed! In the meantime I'll start looking for an alternative.

5 Oct 2007, 10:00 AM
#89
cjpinder avatar

cjpinder

Totally Zenned

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

Re: [Support Thread] Nochex APC

PGlad:

The orders do not show up in either testing or live mode.
Well it definitely sounds like a problem with nochex_apc_handler.php. Can you have a look in your site's access log and see if a call is being made to /shop/nochex_apc_handler.php soon after a payment is made on the nochex site?

Out of interest, are you using a merchant account of a seller account? It shouldn't make a difference either way though.

Regards,
Christian.

5 Oct 2007, 6:28 PM
#90
pglad avatar

pglad

Zen Follower

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

Re: [Support Thread] Nochex APC

Problem solved! I read through all the previous posts again (got a nice headache now) and found the entry below. Tried the same thing and it worked. Thanks for taking the time to help, very much appreciated.

Patrick.

Originally Posted by Ned [IMG]http://www.zen-cart.com/forum/images/ZCgreen/buttons/viewpost.gif[/IMG]
I've changed:
$callback_url = "https://www.nochex.com/nochex.dll/apc/apc";
to
$callback_url = http://www.nochex.com/nochex.dll/apc/apc;

5 Oct 2007, 8:13 PM
#91
cjpinder avatar

cjpinder

Totally Zenned

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

Re: [Support Thread] Nochex APC

PGlad:

Problem solved! I read through all the previous posts again (got a nice headache now) and found the entry below. Tried the same thing and it worked. Thanks for taking the time to help, very much appreciated.
Glad it is now working for you. Good luck with the business. :clap:

Regards,
Christian.

11 Oct 2007, 1:32 PM
#92
scotchgitt avatar

scotchgitt

New Zenner

Join Date:
Oct 2007
Posts:
1
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Error: 1146 Table user_zc1.zen_nochex_sessions' doesn't exist
in:
[delete from zen_nochex_sessions where session_id = '...........']

Has this error been corrected or a fix identified.

I am running 1.3.7 of zen cart and 1.2 of the nochex module (I have also tried 1.1).

I have not installed and uninstalled it 3 times and still get the error.

Any advice or questions thanks.

19 Nov 2007, 9:19 PM
#93
mali avatar

mali

New Zenner

Join Date:
Sep 2006
Posts:
35
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

Hi,

I have a problem with nochex notification email. I use zencart 1.3.7, Shared SSL and have Nochex merchant account.

I downloaded Nochex_APC_v1.21.zip, the version that has been modified by christian (CJPinder). I have removed/uninstalled the old version (1.2) and replace it by this new version. Christian mentioned in the install.txt that this version will now pass product description to Nochex. But in Nochex confirmation email, it still shows [NO MESSAGE ATTACHED] :

Sent To: [email protected]
Amount: £25.83
Date: 19/11/2007 20:43:53
Funded From Card Ending: 333
Description: [NO MESSAGE ATTACHED]

Can someone please suggested what could be wrong?

Regards
Mali

mali

20 Nov 2007, 10:41 AM
#94
cjpinder avatar

cjpinder

Totally Zenned

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

Re: [Support Thread] Nochex APC

mali:

I downloaded Nochex_APC_v1.21.zip, the version that has been modified by christian (CJPinder). I have removed/uninstalled the old version (1.2) and replace it by this new version. Christian mentioned in the install.txt that this version will now pass product description to Nochex. But in Nochex confirmation email, it still shows [NO MESSAGE ATTACHED] :
:oops:
Erm...that looks like a bug I hadn't spotted. The description is not being passed through if you have a Merchant account. Bear with me and I will sort out a fix.

Regards,
Christian.

20 Nov 2007, 5:28 PM
#95
cjpinder avatar

cjpinder

Totally Zenned

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

Re: [Support Thread] Nochex APC

NoChex APC v1.3 attached. If you are already using v1.2.1 then no database changes will be required, just upload the files. This version should fix the description not being passed through on Merchant accounts.

Let me know how you get on.

Regards,
Christian.

21 Nov 2007, 12:20 PM
#96
feelgood2k avatar

feelgood2k

New Zenner

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

Re: [Support Thread] Nochex APC

Works for me, however:

Both this and the previous version do something odd at nochex when I use a gift certificate that covers more than the Amount but less than the Amount + Postage.

Looking at the html for the form that submits to Nochex, the Amount is negative.

You are then shown a Nochex "Send Payment" screen with the negative amount filled in, rather than the normal Payment form you would expect.

Perhaps some logic to stop the amount ever being negative is needed, so that gift certificate redemptions reduce the amount first, then the postage.

This would have to be done early enough so as not to cause problems with the reports.

21 Nov 2007, 12:55 PM
#97
cjpinder avatar

cjpinder

Totally Zenned

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

Re: [Support Thread] Nochex APC

feelgood2k:

Both this and the previous version do something odd at nochex when I use a gift certificate that covers more than the Amount but less than the Amount + Postage. Looking at the html for the form that submits to Nochex, the Amount is negative.

Hmmmm... It sends an Amount and a Postage through to NoChex. The Amount is calculated as Amount = OrderTotal - Postage. Using a Gift Certificate deducts the appropriate amount of money from OrderTotal before it gets to the payment module. So in some circumstances OrderTotal can be less than the Postage.

I'll amend the module so that if the OrderTotal is less than the Postage then it just sends the OrderTotal through and no postage. That should fix it. The postage won't be shown individually in that particular case but at least you will be able to accept payment.

Regards,
Christian.

22 Nov 2007, 11:07 PM
#98
mali avatar

mali

New Zenner

Join Date:
Sep 2006
Posts:
35
Plugin Contributions:
0

Re: [Support Thread] Nochex APC

CJPinder:

NoChex APC v1.3 attached. If you are already using v1.2.1 then no database changes will be required, just upload the files. This version should fix the description not being passed through on Merchant accounts.

Let me know how you get on.

Regards,
Christian.

Hi Christian,

Thank you for your help. It doesn't show product description but at least it show 'Description: R-Spec Performance Products Ltd Purchase'. This looks like paypal IPN.

Regards,
Mali

mali

23 Nov 2007, 1:52 PM
#99
feelgood2k avatar

feelgood2k

New Zenner

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

Re: [Support Thread] Nochex APC

CJPinder:

Hmmmm... It sends an Amount and a Postage through to NoChex. The Amount is calculated as Amount = OrderTotal - Postage. Using a Gift Certificate deducts the appropriate amount of money from OrderTotal before it gets to the payment module. So in some circumstances OrderTotal can be less than the Postage.

I'll amend the module so that if the OrderTotal is less than the Postage then it just sends the OrderTotal through and no postage. That should fix it. The postage won't be shown individually in that particular case but at least you will be able to accept payment.

Regards,
Christian.

Good work Christian. Let me know when you're done and I'll give it a whirl.

I wonder if other modules have the same issue. Ill have to check.

Also, is the Order ID meant to be blank in the email from nochex?

Im assuming this isnt known until the callback itself, which is perhaps after nochex send the email?

26 Nov 2007, 12:40 PM
#100
cjpinder avatar

cjpinder

Totally Zenned

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

Re: [Support Thread] Nochex APC

feelgood2k:

Good work Christian. Let me know when you're done and I'll give it a whirl.
V1.3.1 is attached which should fix the negative amount bug when using Gift Certs.

feelgood2k:

Also, is the Order ID meant to be blank in the email from nochex?

Im assuming this isnt known until the callback itself, which is perhaps after nochex send the email?

Exactly, the order ID doesn't get created until the order is placed which is after the payment is made. As the order ID isn't known ahead of time it can't be passed over to NoChex.

Some payment modules have a guess at the order ID and assume it will be the current ID + 1. That can get confusing if someone places an order while someone else is making a payment though. I believe the other option is to use the external order number generator. Not tried it though.

Regards,
Christian.