1 <%= $url = "$selfurl?session=$session_id;action="; ''; %>
2 <%= include('header', 'Pay now') %>
4 <SCRIPT TYPE="text/javascript" SRC="overlibmws.js"></SCRIPT>
5 <SCRIPT TYPE="text/javascript" SRC="overlibmws_iframe.js"></SCRIPT>
6 <SCRIPT TYPE="text/javascript" SRC="overlibmws_draggable.js"></SCRIPT>
7 <SCRIPT TYPE="text/javascript" SRC="overlibmws_crossframe.js"></SCRIPT>
8 <SCRIPT TYPE="text/javascript" SRC="iframecontentmws.js"></SCRIPT>
11 $OUT .= qq!<FONT SIZE="+1" COLOR="#ff0000">$error</FONT><BR><BR>!;
14 You are about to contact our payment processor to pay $amount.<BR><BR>
15 Your transaction reference number is $reference <BR><BR>
16 <FORM METHOD="POST" ACTION="$popup_url">
19 #<FORM NAME="collect_popper" method="post" action="javascript:void(0)" onSubmit="popcollect()">
20 my %itemhash = @collectitems;
21 # my $query = join(';',
22 # map { uri_escape($_) . '=' . uri_escape($itemhash{$_}) }
25 foreach my $input (keys(%itemhash)) {
26 $OUT .= qq!<INPUT NAME="$input" TYPE="hidden" VALUE="$itemhash{$input}">\n!;
28 $OUT .= qq!<INPUT NAME="submit" TYPE="submit" VALUE="Pay now"></FORM>!
33 #<SCRIPT TYPE="text/javascript">
34 # function popcollect() {
35 # 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' );
36 # overlib( OLpostAJAX('<%= $popup_url %>',
42 <%= include('footer') %>