This commit was generated by cvs2svn to compensate for changes in r8690,
[freeside.git] / fs_selfservice / FS-SelfService / cgi / make_thirdparty_payment.html
1 <%= $url = "$selfurl?session=$session_id;action="; ''; %>
2 <%= include('header') %>
3
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' );
7     return false;
8   }
9 </SCRIPT>
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>
15
16 <FONT SIZE=4>Pay now</FONT><BR><BR>
17
18 <%= if ( $error ) {
19   $OUT .= qq!<FONT SIZE="+1" COLOR="#ff0000">$error</FONT><BR><BR>!;
20 }else{
21   $OUT .= <<EOF;
22     You are about to contact our payment processor to pay $amount.<BR><BR>
23     Your transaction reference number is $reference <BR><BR>
24     <FORM NAME="collect_popper" method="post" action="javascript:void(0)" onSubmit="popcollect()">
25 EOF
26
27   my %itemhash = @collectitems;
28   foreach my $input (keys %itemhash) {
29     $OUT .= qq!<INPUT NAME="$input" TYPE="hidden" VALUE="$itemhash{$input}">!;
30   }
31
32   $OUT .= qq!<INPUT NAME="submit" type="submit" value="Pay now">!;
33   $OUT .= qq!</FORM>!;
34 }
35 %>
36
37 <%= include('footer') %>