PDA

View Full Version : Enabled but not showing



wkdwich
03-05-2010, 09:31 PM
installed
cc_cvv+encryption v1.8 oscmax Credit Card Encrypt and Decrypt on the fly. 1.8.1 (http://www.oscmax.com/projects/release/cc_cvv_encryption_v1_8_oscmax_credit_card_encrypt_ and_decrypt_on_the_fly_1_8_1)

tonight into a fresh install of oscmax 2.0.15 (http://www.oscmax.com/projects/release/oscmax_power_ecommerce_software_2015?)

I have this running on several other carts I manage using older versions of OSC

The module is showing on Admin side, enabled and configured.. but not showing on customer side, removed and reinstallled, nothing on the cust side.. installed COD module and enabled, that wont show on customer side either..

Paypal is set to 10
Check/Money Order set to 20
Credit Card set to 100
COD set to 200

so I know there is no conflict on the sort order.. I tried different combinations of the settings.. right now set to:

Collect CVV Number
True

Collect Issue Number
True

Collect Start Date
True

CVV Number Length
3

Encrypt CC Info
True

Enable CC Validation
True

Enable CC Blacklist Check
True


I have it set to split the CC number and a valid email address in there. Right now only Visa is being accepted..

Does anyone have any ideas? I am so stumped.. tomorrow I will double check my coding and uploading..

wkdwich
03-05-2010, 09:52 PM
More info.. the mod is almost working fine on the admin side.. Manually created a test order from the admin, entered the CC info & exp date (the CVV box was not added to admin/edit_orders.php - thats for another day and post). The CC info was written to the DB BUT the full number (when not encrypted & split card box contained a valid email) was written. The DB was properly cleared out when the Remove CC Info button was clicked.

When I switch to encrypt, it shows encrpted on the invoice detail page on the admin side.. and in the DB the full number shows in plain text..

any help here???

wkdwich
03-10-2010, 09:51 AM
and now some more info.. this makes no sense..

Today I completely uninstalled and REMOVED via FTP the CC and COD modules

Next I added in a CC by fax phone module.. old but fairly straight forward..
Enabled it, configured it, and went to check out and it is NOT [eeks typo alert I typed "now"] showing.. something is going on with the database is my best guess, but thats a little out of my comfort zone so I need some help here please...

michael_s
03-11-2010, 06:11 AM
When you say uninstalled and removed via ftp, I assume this means you disabled and removed via the admin panel first. Then you deleted the files and uploaded fresh copies again.

If not, the first thing you need to do is disable and remove from the admin panel. Then activate them again. That will clean out the old database entries and put fresh ones in.

Next, be sure you have not selected specific payment modules for customers/groups. That will not allow any modules that are not specifically enabled to be displayed even if installed.

Next, be sure you have not limited the module to a specific zone that your customer is not a part of, again it will not display.

That is where I would start. If none of those work, your database may indeed be corrupted, and if it is a development store, re-start with a clean database.

wkdwich
03-11-2010, 06:46 AM
Yes, I disabled via the Admin panel, then FTP'd in and completely deleted the files in the /includes/modules and related /includes/languages/modules folders on the server

Prior I did try deactivating and re-installing via admin and they still do not show up on the customer side

This cart has no customer groups set up, just the default

Specific payment modules have not been set up for the default customer group

The payment modules have not been set to be limited to any specific zone

This particular cart had been seriously hacked.. We hired ridexbuilder to do the upgrade and harden the install (he did a fantastic job BTW!) I have spoken with him and he has no clues either.

The paypal and check modules continue to show and function properly even after removing all active modules and re-installing them

When the CC module is activated/installed all the proper entries are made in the DB, it shows as TRUE, it works fine on the admin side

The COD and CC by Fax/phone module are demonstrating the same behaviour, not showing up on the customer side, all entries are showing proper to the best of my knowledge, in the DB and show in the edit invoice screen on the Admin panel

I am leaning towards an issue either with the checkout_payment pages or the DB myself, but clueless.. I haven't had a real solid chance to examine the change in 2.0.15 from the older version this cart was running

michael_s
03-11-2010, 07:05 AM
Check your configuration table after you disable/remove the modules in the admin panel. I am guessing that you still have entries in the configuration table for both of the payment modules that are giving you problems.

You will have to manually clear out the records for these modules in the configuration table (if they are there, which I suspect they are). I have seen this sort of behavior before, and it is usually due to duplicate configuration data for the modules in question.

pgmarshall
03-11-2010, 08:42 AM
Have you made any backups in the modules/payment directory?

I think there is a bit of code in modules.php that looks through this folder and then checks the dbase for configuration settings ...

Slightly left field - but you never know!

Regards,

wkdwich
03-11-2010, 10:10 AM
Check your configuration table after you disable/remove the modules in the admin panel. I am guessing that you still have entries in the configuration table for both of the payment modules that are giving you problems.

You will have to manually clear out the records for these modules in the configuration table (if they are there, which I suspect they are). I have seen this sort of behavior before, and it is usually due to duplicate configuration data for the modules in question.

Thanks Michael.. any particular search terms I should be using in the DB?? I imagine I only need to search the configuration table??? I searched for modules_payments and CC_ Anything else???

A quick search doesn't have anything stand out here.. With the CC Module removed I have 416 records, with it enabled/installed I have 441 records I exported the DB if you want to take a quick look

wkdwich
03-11-2010, 10:19 AM
Have you made any backups in the modules/payment directory?

I think there is a bit of code in modules.php that looks through this folder and then checks the dbase for configuration settings ...

Slightly left field - but you never know!

Regards,

If I understand you right here.. you mean something like:

cc.php
cc.bak.php

if that is correct, then the answer is no.. there are no backup copies of the modiles files, I just double checked..

There was 2 additional files in the langauages folder:
efsnet.php
egold.php

hang while I remove them and see if that makes any difference.. nope no difference there.. the CC module still does not show up

michael_s
03-11-2010, 11:02 AM
You would be looking for a constant defined in the configuration table like MODULE_PAYMENT_...something. If you want the exact constants, just edit the actual payment module file and look at the bottom of the file. All the stuff that gets added to the db will be there. Then just look for it in the configuration table.

wkdwich
03-11-2010, 11:32 AM
The guy who ported that mod into max just contacted me.. he says he installed it in a clean 2.0.15 and it showed on the customer side fine. he is sending me his files so I can do a compare..

Yea I looked all over there and didnt see anything that jumped out out me.. thanks I'll let you know I hope this is a stupid coding error..

wkdwich
03-11-2010, 01:18 PM
OK still no good.. bkpie sent me his files, I did a compare found one error on my end made the change, uploaded then installing the module - it still does not show up in the customer side.. I was hoping it was a dumb coding thing.. but apparently not

pgmarshall
03-11-2010, 02:15 PM
Have you installed any other changes to v2.0.15?

I would be surprised if the code here conflicted with much ...

... but worth asking all the same.

Regards.

wkdwich
03-11-2010, 05:46 PM
Yes several..
nothing I belive that would interfere though

products purchased with date range
sort invoice & packing slip by item number
google site map
inactive user report
constant contact report
missing pictures report
add store details to contact us
add order ID to admin/orders.php
add price to admin/categories.php
master password
paypal ipn for ccgv

removed date added to cart wording & date from product pages

I run this exact modification on not only my own site (being upgraded to 2.0.15 next) but several others.

wkdwich
03-11-2010, 06:49 PM
tonight I spoke again with bkpie.. he suggested I remove the files I have and upload his..

Removed the CC module from Admin
checked DB for any leftover files searching for modules_payment and CC_ in the configuration table. Neither search showed anything related to the CC module and shows PP and check modules set true and both are showing as payment options for the customer.

did another beyondcompare between bkpie's files and mine and the only difference I see is the PP IPN in my version of (corrected) /catalog/includes/functions/general.php and not in his version

Other than that his files are identical to mine.. so coding error has now been ruled out.. now what???

michael_s
03-11-2010, 06:51 PM
This is what shoud be done: Install a clean unmodified 2.0.15 and ONLY the payment module. If it works, one of your other changes has broken the cart. If not, you know the problem is with the module. Gotta start somewhere and pinpointing the source is the best place.

If it works, then add your mods back in one by one, checking that you have not broken the checkout process after each mod. That is really the only way to proceed.

wkdwich
03-11-2010, 08:35 PM
Can I use the same database connection since there will be no ordering or anything in there???

bkpie
03-12-2010, 04:49 AM
Ok something in 2.0.15 definitely conflicts. I spent a little more time this morning. On a clean install it shows fine on both the Catalog and Admin sides and you can enter an order right through confirmation. However, on the catalog side it is not posting the card to the data base. On the admin side if you use create order it posts to the database however the encryption is backwards. It encrypts on the details page and not in the DB or edit orders page. It is supposed to encrypt on the edit orders page and DB and unencrypt on the Details page. Not sure what is causing these conflicts. As far as it not showing on Debbies Catalog side it does show on a clean install just does not post to DB correctly. I would check the permissions on the Module files on the Catalog side possibly.

As far as what in 2.0.15 is conflicting. I am at a loss at the moment.

wkdwich
03-12-2010, 06:26 AM
OK for right now I am going to revert completely back to the stock CC and make sure it then shows as a payment option onthe customer side, as well as the COD and Pay by Phone/Fax..

When you figure out what went foo-bar and make the changes.. is it at all possible to NOT have the CVV written to the DB?? just have it emailed with the middle 8???

michael_s
03-12-2010, 07:09 AM
Can I use the same database connection since there will be no ordering or anything in there???

A clean install means database and all. You can use the same connection info, just make sure to completely wipe all existing data (running the installer will do this).

wkdwich
03-12-2010, 11:41 AM
OK I am going to make a test bed cart on one of my own domains on my server.. need to resolve this.. since bkpie says the CC/CVV is not behaving on his test cart.. I am leaning one of 2 ways.. either the PP w/CVGC is not liking 2.0.15 either or their is a possability I overwrote something ridexbuilder did when he upgraded this cart.. I am in contact with him on that.

Thanks