.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hi DrByte, any reason this code wouldnt work on older versions of zen cart? just tried it on 1.3.9h on an old site and get an error when it tried to send email, says its trying to send an email to what essentially looks like nothing i.e a blank space? also isnt adding the gv credit either. very odd indeed?
Phil Rogers
A problem shared is a problem solved.
Probably because v1.5.1 automatically includes the security token in the zen_draw_form() output, but v1.3.9 didn't. You could try adding that into your older admin html_output.php ... off the top of my head I don't recall whether there were any additional related dependencies to that.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
As It didn't pull the email I am wondering if perhaps $customer_id is defined? Could that be it? Not a biggy was just going to add the code to the live site until my new site goes live.
Phil Rogers
A problem shared is a problem solved.
Another difference between 1.3.9 and 1.5.x is in the top of /admin/customers.php:Code:$customers_id = zen_db_prepare_input($_GET['cID']); if (isset($_POST['cID'])) $customers_id = zen_db_prepare_input($_POST['cID']);
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Ah ha! That makes sense then I guess :)
Phil Rogers
A problem shared is a problem solved.