You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I'm in the UK and want to take Debit Cards (such as Switch, Solo and Delta) as well as credit card details. I will be processing card details off line.
How do I add the debit cards in the admin section?
We also need to collect an issue number for Debit Cards so I need to add an issue number text field in the card details area of the payment part of the store- how do I do this
Look forward replies - thanks in advance
Offline
For the issue number, you'll need to edit the file:
./cgi-bin/library/modules/site_store_order.pl
the routine:
site_store_order_final_confirm
To get your form field in there. Let say you call the field 'issuenum', you'll need to add the following line:
$mail{Message} .= "Issue Number: $form_data{'issuenum'}nn";
Right below:
$mail{Message} .= "CC Num - Part 2: $display_tracking_cc_num_part_twonn";
in the file:
./cgi-bin/library/common/common_mail.pl
in the routine:
common_mail_site_send_cc_num_to_owner
Offline
I've added the mod in this thread but the program returns an error:
"Unfortunately, we cannot process your payment information as entered. It is possible you did not enter your payment information correctly.
You can attempt to process your order again, or contact us to discuss other payment options."
My codes is as follows:
Added to the site_store_order.pl file below the </SELECT> tag for credit card year drop down box
<TR>
<TD><FONT FACE="$html_base_font_face" SIZE="$html_base_font_size" COLOR="$html_base_font_color">Issue number for debit card: </FONT></TD>
<TD><INPUT TYPE="TEXT" NAME="issuenum" SIZE="10" VALUE="$form_data{'issuenum'}"></TD>
</TR>
and in common_mail.pl - Sub Common Mail Site Send CC Num To Owner I added the extra mail{message} like this:
$mail{Message} .= "CC Num - Part 2: $display_tracking_cc_num_part_twonn";
$mail{Message} .= "Issue Number: $form_data{'issuenum'}nn";
&common_mail_sendmail;
It's been tested with several switch numbers but none work. Any ideas?
thanks
Rob
You'll also need to disable the credit card number check in the first routine in ./cgi-bin/library/modules/site_store_order_confirm.pl. Just bypass the check so that the number isn't validated.
___________________________
Nick Hendler
Webmaster, Kryptronic, Inc.
Offline