Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

payment module


havenweb

Recommended Posts

Hello,

 

Please let me know if there is a fix for the following error when checking out on the store. Similar text shows up with credit card and paypal selections:

 

Thanks for your help. John

 

order Object ( [info] => Array ( [currency] => USD [currency_value] => 1.00000000 [payment_method] => Bill My Credit Card [cc_type] => [cc_owner] => [cc_number] => [cc_expires] => [shipping_method] => United Parcel Service (1 x 33.6lbs) (Free UPS Shipping) [shipping_cost] => 0.00 [comments] => [subtotal] => 509.59 [tax] => 4.12083 [tax_groups] => Array ( [0] => 0 [8.7] => 4.12083 ) [total] => 514.73083 ) [totals] => Array ( ) [products] => Array ( [0] => Array ( [qty] => 2 [name] => Chipotle Cheddar [model] => 240P [tax] => 0 [price] => 166.00 [final_price] => 166.00 [weight] => 0.50 [id] => 240{1}168 [attributes] => Array ( [0] => Array ( [option] => Packaging [value] => 2 Portion Case [option_id] => 1 [value_id] => 168 [prefix] => [price] => 166.00 ) ) ) [1] => Array ( [qty] => 2 [name] => Basic Mold [model] => CM-WM222A [tax] => 8.7 [price] => 11.55 [final_price] => 11.55 [weight] => 0.50 [id] => 359{1}65 [attributes] => Array ( [0] => Array ( [option] => Packaging [value] => Each [option_id] => 1 [value_id] => 65 [prefix] => [price] => 11.55 ) ) ) [2] => Array ( [qty] => 1 [name] => Mirabo Walnut [model] => 209P [tax] => 0 [price] => 118.50 [final_price] => 118.50 [weight] => 0.33 [id] => 209{1}99 [attributes] => Array ( [0] => Array ( [option] => Packaging [value] => Case of two 2.5 lb Wheels [option_id] => 1 [value_id] => 99 [prefix] => [price] => 118.50 ) ) ) [3] => Array ( [qty] => 1 [name] => Glass Dome [model] => 401A [tax] => 8.7 [price] => 35.99 [final_price] => 35.99 [weight] => 2.00 [id] => 401{1}65 [attributes] => Array ( [0] => Array ( [option] => Packaging [value] => Each [option_id] => 1 [value_id] => 65 [prefix] => [price] => 35.99 ) ) ) ) [customer] => Array ( [firstname] => johntesting [lastname] => testers [company] => [street_address] => 1 elm [suburb] => [city] => bellingham [postcode] => 98225 [state] => Washington [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [format_id] => 2 [telephone] => 12121212 [email_address] => [email protected] ) [delivery] => Array ( [firstname] => johntesting [lastname] => testers [company] => [street_address] => 1 elm [suburb] => [city] => bellingham [postcode] => 98225 [state] => Washington [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [country_id] => 223 [format_id] => 2 ) [billing] => Array ( [firstname] => johntesting [lastname] => testers [company] => [street_address] => 1 elm [suburb] => [city] => bellingham [postcode] => 98225 [state] => Washington [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [country_id] => 223 [format_id] => 2 ) )

Link to comment
Share on other sites

John,

 

 

You should NOT be accepting credit cards on your website unless you are PCI DSS compliant. You can accept credit cards using PayPal, Auhtorize.net and many other payment processors.

 

 

Once you disable online credit cards, check your site again for errors. If you site IS PCI DSS Compliant, contact your compliance auditor and check the site for hacker activity.

 

 

Chris

Link to comment
Share on other sites

John,

 

 

You should NOT be accepting credit cards on your website unless you are PCI DSS compliant. You can accept credit cards using PayPal, Auhtorize.net and many other payment processors.

 

 

Once you disable online credit cards, check your site again for errors. If you site IS PCI DSS Compliant, contact your compliance auditor and check the site for hacker activity.

 

 

Chris

Link to comment
Share on other sites

Hello Chris,

 

The error is also happening on the paypal module. Please let me know if you know of a fix I could try.

 

Sincerely,

John

 

order Object ( [info] => Array ( [currency] => USD [currency_value] => 1.00000000 [payment_method] => PayPal - Send Money by Email - PayPal Users Be Sure to Hit Continue on the Last PayPal Screen to come back to the store to finish your order! [cc_type] => [cc_owner] => [cc_number] => [cc_expires] => [shipping_method] => United Parcel Service (1 x 33.6lbs) (Free UPS Shipping) [shipping_cost] => 0.00 [comments] => [subtotal] => 509.59 [tax] => 4.12083 [tax_groups] => Array ( [0] => 0 [8.7] => 4.12083 ) [total] => 514.73083 ) [totals] => Array ( ) [products] => Array ( [0] => Array ( [qty] => 2 [name] => Chipotle Cheddar [model] => 240P [tax] => 0 [price] => 166.00 [final_price] => 166.00 [weight] => 0.50 [id] => 240{1}168 [attributes] => Array ( [0] => Array ( [option] => Packaging [value] => 2 Portion Case [option_id] => 1 [value_id] => 168 [prefix] => [price] => 166.00 ) ) ) [1] => Array ( [qty] => 2 [name] => Basic Mold [model] => CM-WM222A [tax] => 8.7 [price] => 11.55 [final_price] => 11.55 [weight] => 0.50 [id] => 359{1}65 [attributes] => Array ( [0] => Array ( [option] => Packaging [value] => Each [option_id] => 1 [value_id] => 65 [prefix] => [price] => 11.55 ) ) ) [2] => Array ( [qty] => 1 [name] => Mirabo Walnut [model] => 209P [tax] => 0 [price] => 118.50 [final_price] => 118.50 [weight] => 0.33 [id] => 209{1}99 [attributes] => Array ( [0] => Array ( [option] => Packaging [value] => Case of two 2.5 lb Wheels [option_id] => 1 [value_id] => 99 [prefix] => [price] => 118.50 ) ) ) [3] => Array ( [qty] => 1 [name] => Glass Dome [model] => 401A [tax] => 8.7 [price] => 35.99 [final_price] => 35.99 [weight] => 2.00 [id] => 401{1}65 [attributes] => Array ( [0] => Array ( [option] => Packaging [value] => Each [option_id] => 1 [value_id] => 65 [prefix] => [price] => 35.99 ) ) ) ) [customer] => Array ( [firstname] => johntesting [lastname] => testers [company] => [street_address] => 1 elm [suburb] => [city] => bellingham [postcode] => 98225 [state] => Washington [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [format_id] => 2 [telephone] => 12121212 [email_address] => [email protected] ) [delivery] => Array ( [firstname] => johntesting [lastname] => testers [company] => [street_address] => 1 elm [suburb] => [city] => bellingham [postcode] => 98225 [state] => Washington [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [country_id] => 223 [format_id] => 2 ) [billing] => Array ( [firstname] => johntesting [lastname] => testers [company] => [street_address] => 1 elm [suburb] => [city] => bellingham [postcode] => 98225 [state] => Washington [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [country_id] => 223 [format_id] => 2 ) )

Link to comment
Share on other sites

That's a godly array of arrays.

 

In 2.2 having the credit card module on could interfere with other payment processors. Did you try turning it off then re-testing?

Link to comment
Share on other sites

Yes, I have turned off all other payment processors. Then I tried paypal and then just cash on delivery and still get the same huge array. I did notice the note at the top of file manager, maybe this is related:

Error Error: I can not write to this file. Please set the right user permissions on: /usr/local/www/cheesesupply.com/www/admin/includes/application_top.php

 

Thanks

John

Link to comment
Share on other sites

As far as that error goes, you shouldn't be using file manager, at all, or even have it installed that should be deleted straight away.

http://forums.oscomm...mmerce-22-site/

 

FILEMANAGER:

 

It has long been known the filemanger is a security risk & should, nay MUST be removed, if used for editing your site it is likely to damage your files, so is a bad utility to keep anyway, see here. Its also been known its a possible hacking route & to make matters worse there now exists a very nasty hack that uses filemanger to gain access to your site ( dbase included!! )

 

Use a normal editor such as html-kit or notepad++ after downloading all your files to your PC with ftp such as filezilla.

 

To remove filemanger:

 

Delete file_manager.php from catalog/admin

 

open admin/includes/boxes/tools.php and delete the line:

 

'<a href="' . tep_href_link(FILENAME_FILE_MANAGER) . '" class="menuBoxContentLink">' . BOX_TOOLS_FILE_MANAGER . '</a><br>' .

 

It is also known that admin/define_language.php is vulnerable to the same hacks as filemanger, so should also be removed.

 

 

 

Having a quick look at your site, it appears that its been in operation for some time. My first questions in this case would be.

1. Did you recently add any modules add-ons etc?

2. Did you check with your host to see if they did any recent upgrades mysql versions, or php versions? Typically if you have done nothing and all of sudden stuff starts crapping out on you, your host has made changes, or hack has happened. I just did a quick glance at the homepage and didn't notice any malicious code. So likely the host did an upgrade in which case we are close to an answer.

 

Hope that helps,

Don

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...