VectorSix Posted March 8, 2006 Posted March 8, 2006 I can't really say when this started, but, when a credit card purchase is made, it only posts the cc_number to the db. I don't know what happens to the rest of the data (cc_type, cc_owner, cc_expires), but it is not showing in my db. I use the (e-mail middle numbers addon) to avoid storing whole cc_numbers, but it wasn't that mod that did it ( I don't think) Anyway, I use the test cc numbers on Verisigns site to test it. When I go through checkout, enter the number and expiration, etc, it goes to the confirmation page. It does list all the cc info there fine, but does not post from there. I have restored these original files, just in case: checkout_payment.php checkout_confirmation.php checkout_process.pgp cc.php payment.php There seems to be no change. When I look in mySQL db, only the cc_number shows. As another test, I created another "test" environment (db & catalog) and tested it, and it works fine. Anyone ever see this before? ANY help would be SUPER. TIA. V6 :thumbsup:
VectorSix Posted March 14, 2006 Author Posted March 14, 2006 Looking for a little input on the cc post process. Is there somewhere I can look to see if there are errors from the post? Like I said, I see all the data on the confirmation page, but it only posts the card numbers, not any of the other cc information. All of the order data is fine.
sven_s Posted March 21, 2006 Posted March 21, 2006 I have the same exact problem. Any help would be hugely appreciated.
VectorSix Posted March 21, 2006 Author Posted March 21, 2006 Hey Sven, didi you install the Purchase Order Contrib? I am wondering if something in there is screwing things up ??
sven_s Posted March 21, 2006 Posted March 21, 2006 Hey Sven, didi you install the Purchase Order Contrib? I am wondering if something in there is screwing things up ?? Hi there, I didn't install that contribution. My store is so modified it would be really hard to trace it back to a single contrib. The good news is I think I just made a breakthrough. There is some problem with the data getting lost in all those arrays in order.php and checkout_process.php and the communication in-between them. I'm working on a workaround using the original $HTTP_POST_VARS from the hidden fields in cc.php and I'll let you know if it works out! best, sven
sven_s Posted March 22, 2006 Posted March 22, 2006 So here's a workaround that seems to work for me, and I haven't run into any problems with it yet, but take it at your own risk: in checkout_process.php find (it's in that huge array starting near the top): ... 'cc_type' => $order->info['cc_type'], 'cc_owner' => $order->info['cc_owner'], 'cc_number' => $order->info['cc_number'], 'cc_expires' => $order->info['cc_expires'], ... and replace it with: ... 'cc_type' => $HTTP_POST_VARS['cc_type'], 'cc_owner' => $HTTP_POST_VARS['cc_owner'], 'cc_number' => $order->info['cc_number'], 'cc_expires' => $HTTP_POST_VARS['cc_expires'], ... This works because for some reason the $order->info variables were empty but the $HTTP_POST_VARS had the data in them. So it doesn't solve the problem of why they are empty but it seems to save the basic functionality. best of luck!
VectorSix Posted March 22, 2006 Author Posted March 22, 2006 Thanks a bunch, it looks like it is working. Good thinking!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.