Zen Cart Logo
Forums / Addon Payment Modules / Ceon Manual/Offline Card Payment Module v1.0.0!

Ceon Manual/Offline Card Payment Module v1.0.0!

Locked

Views: 44,382

Results 101 to 114 of 114
This thread is locked. New replies are disabled.
6 Feb 2009, 2:54 PM
#101
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Ceon Manual/Offline Card Payment Module v1.0.0!

Hi Robbie,

giftmeister:

Can the mod skip the billing info requirements? The bottomline is to get the order into the website, generate an order number and then I can switch to the VT. Only then would I need to ask for the card number.

Sorry but the module cannot skip asking for the billing info.

You sound like you need some sort of custom admin order addition interface.

Sorry I don't have a more positive response!

All the best...

Conor
Ceon

6 Feb 2009, 6:22 PM
#102
sourcez avatar

sourcez

New Zenner

Join Date:
Oct 2008
Posts:
8
Plugin Contributions:
0

Re: Ceon Manual/Offline Card Payment Module v1.0.0!

Regarding my earlier problem, a script was corrupting a file every time I uploaded it - finally fixed it (and no problem with the script).

I'm using Virtual Terminal at the mo but just thought I'd drop by and say this is a great contribution that works brilliantly. If I were doing fewer transactions I would not hesitate in using it.

Thanks, Conor!

11 Feb 2009, 4:18 PM
#103
webego avatar

webego

New Zenner

Join Date:
Oct 2008
Posts:
36
Plugin Contributions:
0

Re: Ceon Manual/Offline Card Payment Module v1.0.0!

Hi Conor,

I have a development server on windows (sorry!) running Zen Cart 1.3.8a and I am getting the following error when I go to the Payments section to install the module:

Fatal error: Call to undefined function ceon_file_exists_in_include_path() in C:****\includes\modules\payment\ceon_manual_card.php on line 142

I have unzipped the download again and overwritten all files to make sure this isn't an issue but still get the error.

Thanks

11 Feb 2009, 4:44 PM
#104
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon Manual/Offline Card Payment Module v1.0.0!

Hi,

webego:

I have unzipped the download again and overwritten all files to make sure this isn't an issue but still get the error.

If you are using version 1.6.1 then that most certainly is still the issue. Please check that each of the files in the two functions/ folders are there and the correct size.

One of the files, admin/includes/extra_functions/ceon_file_system_functions.php, loads the other one, includes/extra_functions/ceon_file_system_functions.php. You need both of these files to be present and correct.

If they're both there, check - by opening them - that they aren't corrupted.

I'm afraid that's all the help I can be.

All the best...

Conor
Ceon

12 Feb 2009, 12:05 AM
#105
webego avatar

webego

New Zenner

Join Date:
Oct 2008
Posts:
36
Plugin Contributions:
0

Re: Ceon Manual/Offline Card Payment Module v1.0.0!

Hi Conor,

Well both files where there and not corrupted in any way. This is on a WinXP based machine I use for developing so don't know if this has anything to do with it?

I went ahead and ftp'd to the live site anyway and have the module working well but unfortunately without blowfish. This VPS is a CentOS based server with Plesk. I added the pear path to my php.ini which was fine, I added the pear path to my open_basedir in my vhost.conf file for this domain. However, no matter what I tried, your script would not pick up this change and kept showing the following error:


CEON MANUAL CARD: Your PHP installation does NOT have access to PEAR on your server!

...

Current Include Path: .:/usr/share/pear:/local/PEAR/

Safe mode in use?: no

open_basedir restricted directories: /var/www/vhosts/*****.co.uk/httpdocs:/tmp


The vhost.conf includes:

php_admin_value open_basedir "/var/www/vhosts/*****.co.uk/httpdocs:/tmp:/usr/share/pear"

but as you can see from your error this was not being picked up. I even checked with a phpinfo() and this showed my setting overrides correctly.

The module is great and an improvement on the basic zen offline cc mod (as it allows start dates and issue numbers amongst other things) but I will have to run without the session encryption for now.

12 Feb 2009, 12:17 AM
#106
webego avatar

webego

New Zenner

Join Date:
Oct 2008
Posts:
36
Plugin Contributions:
0

Re: Ceon Manual/Offline Card Payment Module v1.0.0!

Oh and I forgot to mention that I changed the cc_issue field to varchar(2) as my client tells me they sometimes get customers who have had 10 or more re-issues of their cards! :-O

12 Feb 2009, 12:49 AM
#107
webego avatar

webego

New Zenner

Join Date:
Oct 2008
Posts:
36
Plugin Contributions:
0

Re: Ceon Manual/Offline Card Payment Module v1.0.0!

Okay, I have resolved the WinXP machine problem..:oops:

I forgot to rename the admin folder from your module to match the renamed admin folder of the site....doh!!! Works fine now would you believe :blush:

Still have the above issue on the CentOS / Plesk box though.

Also just noticed that if you have a 'free' product with 'free' shipping (and no other objects of costs) in the cart, you get this message from your module (or possibly zen):


Payment Method

Sorry, we are not accepting payments from your region at this time.
Please contact us for alternate arrangements.


Is there any way the module can differntiate between these two situations? It does of course allow you to continue with the 'purchase' regardless, however some may be put off at this stage and not continue.

12 Feb 2009, 10:28 AM
#108
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon Manual/Offline Card Payment Module v1.0.0!

Hi,

webego:

Oh and I forgot to mention that I changed the cc_issue field to varchar(2) as my client tells me they sometimes get customers who have had 10 or more re-issues of their cards! :-O

Oops, that was supposed to be 2 in the first place as American Express use two digits (e.g. "01").

Thanks, I'll get that fixed.

All the best...

Conor
Ceon

12 Feb 2009, 10:38 AM
#109
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon Manual/Offline Card Payment Module v1.0.0!

Hi,

webego:

Okay, I have resolved the WinXP machine problem..:oops:

I forgot to rename the admin folder from your module to match the renamed admin folder of the site....doh!!! Works fine now would you believe :blush:

I knew one of the files was "missing or incomplete", that was the only option! ;)

webego:

Still have the above issue on the CentOS / Plesk box though.

Whatever the module says in its test **is **what's happening on your server, regardless of whatever any other script says.

Your PHP installation does not have access to PEAR.

More than likely PEAR is not in /usr/share/pear but /local/PEAR/

webego:

Also just noticed that if you have a 'free' product with 'free' shipping (and no other objects of costs) in the cart, you get this message from your module (or possibly zen):

That's a Zen Cart issue. You have to enable the "The Zen Cart FREE CHARGE CARD" payment module if you want to allow payments of zero to work as you expect.

All the best...

Conor
Ceon

12 Feb 2009, 10:46 AM
#110
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon Manual/Offline Card Payment Module v1.0.0!

Hi,

webego:

but as you can see from your error this was not being picked up

Something else you should check is with some control panel software the open_basedir setting is often different for the admin from the catalog.

I don't know why but that's why tests are made on both the admin and catalog side - I've encountered differing settings for these two folders before. Again, why that would be I have no idea, I don't run a control panel myself.

Whatever the Ceon Manual Card module says about your open_basedir and include_path settings is the true situation, whatever phpinfo() or anything else says.

Obviously I can't do any more for you in this regard so please don't post further about your server settings. If you're still having trouble you will have to talk to your host so they can get your PHP installation (in both the admin and catalog) to be able to access PEAR.

All the best...

Conor
Ceon

12 Feb 2009, 11:50 AM
#111
webego avatar

webego

New Zenner

Join Date:
Oct 2008
Posts:
36
Plugin Contributions:
0

Re: Ceon Manual/Offline Card Payment Module v1.0.0!

Cracked it! For the benefit of anyone else who finds themselves in the same situation see below:

If you are (and you should be) taking the card details via a secure page, you also need to create a vhost_ssl.conf file (in addition to your vhost.conf). You can then declare the open_basedir again including the path to pear.

<Directory /var/www/vhosts/yourdomain.co.uk/httpdocs>
php_admin_value open_basedir "/var/www/vhosts/yourdomain.co.uk/httpdocs:/tmp:/usr/share/pear"
</Directory>

Note: I have used httpdocs rather than httpsdocs in both the directory and open_basedir as I have the Plesk domain setup option to "Use a single directory for housing SSL and non-SSL content" activated.

You will then need to either rebuild your apache configs:

# /usr/local/psa/admin/sbin/websrvmng -v –a

or manually include the vhost_ssl.conf in the httpd.include file at the end of the secure section:

<VirtualHost ***.***.***.***:443>
....
....
        Include /var/www/vhosts/yourdomain.co.uk/conf/vhost_ssl.conf
</VirtualHost>

Hopefully of use to someone.

Oh and of course don't forget to restart apache afterwards:

# httpd -k restart
12 Feb 2009, 12:22 PM
#112
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon Manual/Offline Card Payment Module v1.0.0!

Hi,

Thank you, that may be useful information for someone else.

Glad you like the module and that you've got your server set up correctly now! Didn't I say that the module doesn't lie? ;)

All the best...

Conor
Ceon

27 Feb 2009, 9:04 PM
#113
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon Manual/Offline Card Payment Module v1.0.0!

Hi,

It gives me great pleasure to release version 2.0.0 of the module!

It has some nice new features for all users, including a great looking "Cards Accepted" sidebox which dynamically displays the icons for the cards your store accepts.

From the Revision History:

[ADDED] Cards Accepted Sidebox added. Allows the dynamic display of icons for each credit/debit card accepted even before the customer has reached the checkout stage.
[ADDED] Option to disable Blowfish encryption added.
[ADDED] Support for Discover cards added.
[ADDED] Information about switching off Blowfish encryption or storage of details in session added to admin and ConfigCheck class.
[UPDATED] Information about fixing access to Blowfish files updated.
[BUGFIX] Issue number field in database was only one digit long whereas some issue numbers can have two digits (e.g. American Express or cards people have had for a long, long time).

Full, simple upgrading instructions are included in the documentation. It should only take a few minutes.

The module has been submitted to the Zen Cart downloads area: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1277
and can be discussed here: http://www.zen-cart.com/forum/showthread.php?t=121353

Enjoy!

All the best...

Conor
Ceon

27 Feb 2009, 9:04 PM
#114
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon Manual/Offline Card Payment Module v1.0.0!

Please take all discussion for this module to the new version's support thread here:
http://www.zen-cart.com/forum/showthread.php?t=121353