Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * - 1 votes

[CONTRIBUTION] Nochex APC Payment Module


322 replies to this topic

#21 ldavies83

  • Community Member
  • 114 posts
  • Real Name:Leigh
  • Location:UK

Posted 21 September 2004, 13:10

fiddles, on Sep 21 2004, 12:58 PM, said:

Still no joy with the nochex APC. I double checked my install and it all looks ok.

I've got an SSL cert and now that works ok, and the non APC nochex contrib works ok, but.....

I still cannot get the APC version to work at all. With debug mode on, if I send a test APC from nochex I get the debug code mail :
I also get a mail from HTTPD with the no response message.

I dont get sent to the nochex payment screen, just a blank shop screen.

I'd really appreciate any suggestions :'(

<{POST_SNAPBACK}>

What happens when you drop into test mode? Same symptoms? What version OSc have you got installed?

Cheers,

L.
Contribs Written: Nochex APC Payment Module, Cheque Payment Module
Contribs Updated: Information Pages Unlimited, Latest News V1
You've gotta be Quick on the Draw in this game!

#22 ldavies83

  • Community Member
  • 114 posts
  • Real Name:Leigh
  • Location:UK

Posted 21 September 2004, 13:14

marcoh, on Sep 6 2004, 09:43 AM, said:

Will this contribution work with 2.2CVS?

Are there any amendments (other than the SQL ones) that need to be made?

<{POST_SNAPBACK}>

I'm Not sure, I've not tested it, however I would say no unless anyone else has tried.
Contribs Written: Nochex APC Payment Module, Cheque Payment Module
Contribs Updated: Information Pages Unlimited, Latest News V1
You've gotta be Quick on the Draw in this game!

#23 DST

  • Community Member
  • 39 posts
  • Real Name:Jessica

Posted 22 September 2004, 23:42

Please help me. I had installed the apc, and it was working fine until I accidentally clicked "delete" on the normal (non apc) nochex in the admin payment modules. Now neither of them are showing up after checkout even though I have installed the module again, and re-uploaded my ENTIRE website. It's just not there any more and I don't know why.

This is going to cripple my shop because my only other payment option is check, and I doubt anyone is going to want to send me a check.

#24 miguel_andreas

  • Community Member
  • 23 posts
  • Real Name:Miguel

Posted 23 September 2004, 08:51

I'm having a problem with the INSTALL file.

"INSTALL" said:

....IMPORTANT

1: Make sure you set up correctly the apcresponder url parameter in the Payment Module. This is done from your osCommerce Admin->Modules->Payment->Nochex APC->APC Responder Module Address By default it is prefilled with the "guessed" location of the paypal_notify.php file, but you have to make sure of that....
I have no "Nochex APC" in Modules -> Payment in the admin section.

Also, the file admin/includes/filenames.txt refers to a file "nochex_tests.php" which isn't referenced in the install file, nor is it anywhere in the zip file.
Help please.

#25 DST

  • Community Member
  • 39 posts
  • Real Name:Jessica

Posted 23 September 2004, 08:56

I've also tried removing and then installing the modules through the payment modules section of the admin panel, and that's not fixed my problem either.

I just do not understand what has gone wrong, and why it's not showing up after I re-uploaded the entire website (that had all the modified nochex apc updates as well).

#26 ldavies83

  • Community Member
  • 114 posts
  • Real Name:Leigh
  • Location:UK

Posted 23 September 2004, 09:07

It seems some people are having difficulties with the .txt thing. I'll broaden the subject. The txt files are lines of code that need ADDING to files that already exist. For example, in catalog/includes/filenames.txt there is a line:

Quote

  define('FILENAME_CHECKOUT_NOCHEXAPC', 'checkout_nochex.php'); // NOCHEXAPC
This means you have to navigate to catalog/includes/filenames.PHP (note change of extension), open it and add the above line which came from the .txt file and save it.

So short answer is: .txt files contain changes/additions to files that already exist

Hope this helps miguel!
Contribs Written: Nochex APC Payment Module, Cheque Payment Module
Contribs Updated: Information Pages Unlimited, Latest News V1
You've gotta be Quick on the Draw in this game!

#27 ldavies83

  • Community Member
  • 114 posts
  • Real Name:Leigh
  • Location:UK

Posted 23 September 2004, 09:09

DST, on Sep 23 2004, 08:56 AM, said:

I've also tried removing and then installing the modules through the payment modules section of the admin panel, and that's not fixed my problem either.

I just do not understand what has gone wrong, and why it's not showing up after I re-uploaded the entire website (that had all the modified nochex apc updates as well).

<{POST_SNAPBACK}>

Hi Jesicca, Just to let you know I've replied to your email, check it out to see if it sorts it out for you. Let us know :D
Contribs Written: Nochex APC Payment Module, Cheque Payment Module
Contribs Updated: Information Pages Unlimited, Latest News V1
You've gotta be Quick on the Draw in this game!

#28 DST

  • Community Member
  • 39 posts
  • Real Name:Jessica

Posted 23 September 2004, 09:16

ldavies83, on Sep 23 2004, 09:09 AM, said:

Hi Jesicca, Just to let you know I've replied to your email, check it out to see if it sorts it out for you. Let us know  :D

<{POST_SNAPBACK}>



Yes it did. I'm posting your suggestion here for everyone else:

Right Try this.


Uninstall the nochex apc module in the admin again (Modules > Payment >
Nochex > Remove


Reinstall the module by clicking the install button again, and Click edit
when its installed


Make sure "Enable NOCHEX Module" is True
Set Functionality Mode to "Test"
Set your logo as desired or blank it out
Set "Enable NOCHEX APC Responder" to "True"
Ensure the APC Responder Address points to the correct file (ie. On mine it
is "http://www.mydomain.com/nochex_notify.php", I'm sure it is for yours
aswell
Set Email address to your NOCHEX payment address
Leave the others on the default apart from "Debug Email Code", set that to
"True"


Finally click Update.


Now run through your site to order something, hopefully it will be there
(I've just done exactly the same steps on my store), and it should be there.
Progress right the way through because as you are in test mode, your will be
able to send a test transaction from the email address test1@nochex.com
password 123456.


If this all works you should receive loads of emails saying so. If it does
be sure to take the module out of test mode and into "LIVE" mode.

#29 ldavies83

  • Community Member
  • 114 posts
  • Real Name:Leigh
  • Location:UK

Posted 23 September 2004, 09:21

Glad it worked for you DST hope the money starts rolling in again :)
Contribs Written: Nochex APC Payment Module, Cheque Payment Module
Contribs Updated: Information Pages Unlimited, Latest News V1
You've gotta be Quick on the Draw in this game!

#30 ldavies83

  • Community Member
  • 114 posts
  • Real Name:Leigh
  • Location:UK

Posted 23 September 2004, 09:23

miguel_andreas, on Sep 23 2004, 08:51 AM, said:

I'm having a problem with the INSTALL file.

"INSTALL" said:

....IMPORTANT

1: Make sure you set up correctly the apcresponder url parameter in the Payment Module. This is done from your osCommerce Admin->Modules->Payment->Nochex APC->APC Responder Module Address By default it is prefilled with the "guessed" location of the paypal_notify.php file, but you have to make sure of that....
I have no "Nochex APC" in Modules -> Payment in the admin section.

Also, the file admin/includes/filenames.txt refers to a file "nochex_tests.php" which isn't referenced in the install file, nor is it anywhere in the zip file.
Help please.

<{POST_SNAPBACK}>

Quite right miguel, in fact the module is labelled as "Secure Payment through SSL via Nochex" so it would be Modules > Payment > Secure Payment through SSL via NOCHEX

If its not there its not been installed correctly

cheers,

L.
Contribs Written: Nochex APC Payment Module, Cheque Payment Module
Contribs Updated: Information Pages Unlimited, Latest News V1
You've gotta be Quick on the Draw in this game!

#31 miguel_andreas

  • Community Member
  • 23 posts
  • Real Name:Miguel

Posted 23 September 2004, 09:24

ldavies83, on Sep 23 2004, 09:07 AM, said:

...
So short answer is: .txt files contain changes/additions to files that already exist

Hope this helps miguel!

<{POST_SNAPBACK}>

I know you need to add the contents of the .txt to the .php files. I have done so.
I'm just wondering why filenames.php refers to a file "nochex_tests.php" which isn't found in the release, nor mentioned anywhere in the INSTALL file.

I also am having a problem of not having the "Nochex APC" in Modules -> Payment.

#32 DST

  • Community Member
  • 39 posts
  • Real Name:Jessica

Posted 23 September 2004, 09:31

miguel_andreas, on Sep 23 2004, 09:24 AM, said:

I know you need to add the contents of the .txt to the .php files. I have done so.
I'm just wondering why filenames.php refers to a file "nochex_tests.php" which isn't found in the release, nor mentioned anywhere in the INSTALL file.

I also am having a problem of not having the "Nochex APC" in Modules -> Payment.

<{POST_SNAPBACK}>


Miguel, a Nochex payment module comes with the default install of OSCommerce, and that is probably what you are seeing. Just ignore it and move onto the next part of the install.

#33 miguel_andreas

  • Community Member
  • 23 posts
  • Real Name:Miguel

Posted 23 September 2004, 09:33

Ok, I tried it all again (following the post from DST above this).
I have set the location of the nochex_notify.php (which is in the same directory as the rest of my osCommerce files (catalog/) yet when I run through the Nochex payment, once I have inputted the email/passwortd, I then get a 404 error page, as it tries to go to https://www.nochex.com/catalog/checkout_success.php rather than my site, which I assume it should do?

[edit]
I see the Secure (SSL) Payment via Nochex in Modules -> Payments, and have done since I installed. (The install file is slightly misleading, as it refers to Nochex APC).
[/edit]

Edited by miguel_andreas, 23 September 2004, 09:34.


#34 miguel_andreas

  • Community Member
  • 23 posts
  • Real Name:Miguel

Posted 23 September 2004, 09:39

Here is the debug emails I'm getting

Quote

Opening connection
Raw Response from Nochex:
Checking Response
Result: Now checking order and updating as necessary
Completed APC notify script!
and a blank one, with the subject

Quote

NOCHEX VALIDITY RESPONSE: NO RESPONSE


#35 ldavies83

  • Community Member
  • 114 posts
  • Real Name:Leigh
  • Location:UK

Posted 23 September 2004, 09:49

miguel_andreas, on Sep 23 2004, 09:33 AM, said:

Ok, I tried it all again (following the post from DST above this).
I have set the location of the nochex_notify.php (which is in the same directory as the rest of my osCommerce files (catalog/) yet when I run through the Nochex payment, once I have inputted the email/passwortd, I then get a 404 error page, as it tries to go to https://www.nochex.com/catalog/checkout_success.php rather than my site, which I assume it should do?

[edit]
I see the Secure (SSL) Payment via Nochex in Modules -> Payments, and have done since I installed. (The install file is slightly misleading, as it refers to Nochex APC).
[/edit]

<{POST_SNAPBACK}>


Miguel assuming the path your taking is as follows:

BUY PRODUCT
Select NOCHEX APC module as payment method
Click continue on order confirmation page
Redirect to Nochex for payment details
Enter test email details and hit continue
Redirects you to https://www.nochex.com/catalog/checkout_success.php


it sounds like youve set your catalog/includes/configure.php file up incorrectly, I'm guessing you have set up your HTTPS_SERVER parameter to "https://www.nochex.com", which is incorrect as it is not your server. I think you have also set the ENABLE_SSL to true when it should be false if you do not own an SSL cert on your own server.

If I'm on the right line your configure.php line should look like this:

Quote

  define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
  define('ENABLE_SSL', false); // secure webserver for checkout procedure?


Does that help at all?
Contribs Written: Nochex APC Payment Module, Cheque Payment Module
Contribs Updated: Information Pages Unlimited, Latest News V1
You've gotta be Quick on the Draw in this game!

#36 ldavies83

  • Community Member
  • 114 posts
  • Real Name:Leigh
  • Location:UK

Posted 23 September 2004, 09:53

After checking the checkout_nochex file, it could only be that as it picks that information from that key
Contribs Written: Nochex APC Payment Module, Cheque Payment Module
Contribs Updated: Information Pages Unlimited, Latest News V1
You've gotta be Quick on the Draw in this game!

#37 miguel_andreas

  • Community Member
  • 23 posts
  • Real Name:Miguel

Posted 23 September 2004, 10:00

ldavies83, on Sep 23 2004, 09:49 AM, said:

Miguel assuming the path your taking is as follows:

BUY PRODUCT
Select NOCHEX APC module as payment method
Click continue on order confirmation page
Redirect to Nochex for payment details
Enter test email details and hit continue
Redirects you to https://www.nochex.com/catalog/checkout_success.php
it sounds like youve set your catalog/includes/configure.php file up incorrectly, I'm guessing you have set up your HTTPS_SERVER parameter to "https://www.nochex.com", which is incorrect as it is not your server. I think you have also set the ENABLE_SSL to true when it should be false if you do not own an SSL cert on your own server.

If I'm on the right line your configure.php line should look like this:
Does that help at all?

<{POST_SNAPBACK}>

Yes, the above procedure is what I was following.
I have ENABLE_SSL set to false, and nothing set for and line that includes HTTPS
in either the includes/configure.php or admin/includes/configure.php files

#38 DST

  • Community Member
  • 39 posts
  • Real Name:Jessica

Posted 23 September 2004, 10:08

I've got a non-urgent, curiosity question. In the APC section of payment modules in admin, it has a box for a Nochex logo, but where does that logo show up? I've put the path in from the same url I get the nochex logo on my "payment options page" (it's pulled off the nochex server because I just copied/pasted straight from their merchant help in my account) but it's not showing up on the payment selection page.

I went right on through to "confirm order" and it's not displayed anywhere. Where does this logo show up?

#39 miguel_andreas

  • Community Member
  • 23 posts
  • Real Name:Miguel

Posted 23 September 2004, 10:13

I have tried setting the HTTPS_SERVER stuff to the same as the HTTP stuff, and nochex now forwards me back to my test shop once payment is complete
However, I'm still receiving the same emails as above, and nothing is showing up in the Noxhex APC for payments.

#40 ldavies83

  • Community Member
  • 114 posts
  • Real Name:Leigh
  • Location:UK

Posted 23 September 2004, 10:19

miguel_andreas, on Sep 23 2004, 10:00 AM, said:

Yes, the above procedure is what I was following.
I have ENABLE_SSL set to false, and nothing set for and line that includes HTTPS
in either the includes/configure.php or admin/includes/configure.php files

<{POST_SNAPBACK}>

Do you mean you've just made the change and still issues or you've always had it set like that?

If your still have problems, open checkout_nochex.php in catalog/ and go right to the end of the file and look for

Quote

  //Set the page to auto submit the form
Just above that enter this:

Quote

tep_mail('Nochex APC Debug Code (CHECKOUT_NOCHEX.php)', STORE_OWNER_EMAIL_ADDRESS, 'Debug Code',  nl2br($formlink), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, '');
That will email to the store owner email address, the form link. Post that up here so I can have a look at that. Also what is your web address?
Contribs Written: Nochex APC Payment Module, Cheque Payment Module
Contribs Updated: Information Pages Unlimited, Latest News V1
You've gotta be Quick on the Draw in this game!