Guest Posted February 19, 2003 Share Posted February 19, 2003 Hi, Just wondering how I could get the type of credit card the person was using(visa or mastercard) to include in the confirmation email that checkout_process.php sends to us. I tried using the variable $order->info['cc_type'] but that didn't work. I think the variable is in the cc_validation class object? How could I access it from the checkout_process.php file? Any help would be much appreciated! Thanks a bunch, Steve Link to comment Share on other sites More sharing options...
Guest Posted February 19, 2003 Share Posted February 19, 2003 If I'm correct, the first 4 numbers of the credit card determines what type of card it is (i.e. Visa = 4214 xxxx xxxx xxxx). Create a statement that detects this value and outputs the response. Good Luck. -R Link to comment Share on other sites More sharing options...
Guest Posted February 21, 2003 Share Posted February 21, 2003 thanks! i'll give that a try, but i think there is some variable that osc uses...anyone might know what that is offhand? thanks a bunch Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.