1 <%= $url = "$selfurl?session=$session_id;action="; ''; %>
2 <%= include('header', 'Pay now') %>
4 <SCRIPT TYPE="text/javascript">
5 function popcollect() {
6 overlib( OLiframeContent('<%= $popup_url %>', 336, 550, 'Secure Payment Area', 0, 'auto' ), CAPTION, 'Pay now', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#333399', CGCOLOR, '#333399', CLOSETEXT, 'Close' );
10 <SCRIPT TYPE="text/javascript" SRC="overlibmws.js"></SCRIPT>
11 <SCRIPT TYPE="text/javascript" SRC="overlibmws_iframe.js"></SCRIPT>
12 <SCRIPT TYPE="text/javascript" SRC="overlibmws_draggable.js"></SCRIPT>
13 <SCRIPT TYPE="text/javascript" SRC="overlibmws_crossframe.js"></SCRIPT>
14 <SCRIPT TYPE="text/javascript" SRC="iframecontentmws.js"></SCRIPT>
17 $OUT .= qq!<FONT SIZE="+1" COLOR="#ff0000">$error</FONT><BR><BR>!;
20 You are about to contact our payment processor to pay $amount.<BR><BR>
21 Your transaction reference number is $reference <BR><BR>
22 <FORM NAME="collect_popper" method="post" action="javascript:void(0)" onSubmit="popcollect()">
25 my %itemhash = @collectitems;
26 foreach my $input (keys %itemhash) {
27 $OUT .= qq!<INPUT NAME="$input" TYPE="hidden" VALUE="$itemhash{$input}">!;
30 $OUT .= qq!<INPUT NAME="submit" type="submit" value="Pay now">!;
35 <%= include('footer') %>