assign a size to svc_phone.sms_account
[freeside.git] / fs_selfservice / FS-SelfService / cgi / post_thirdparty_payment.html
1 <%= $url = "$selfurl?session=$session_id;action="; ''; %>
2 <%= include('header', 'Pay now') %>
3
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>
9
10 <%= if ( $error ) {
11   $OUT .= qq!<FONT SIZE="+1" COLOR="#ff0000">$error</FONT><BR><BR>!;
12 }else{
13   $OUT .= <<EOF;
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">
17 EOF
18     
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{$_}) }
23 #    keys(%itemhash)
24 #  );
25   foreach my $input (keys(%itemhash)) {
26     $OUT .= qq!<INPUT NAME="$input" TYPE="hidden" VALUE="$itemhash{$input}">\n!;
27   }
28   $OUT .= qq!<INPUT NAME="submit" TYPE="submit" VALUE="Pay now"></FORM>!
29 }
30 %>
31
32 <%=
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 %>', 
37 #    return false;
38 #  }
39 #</SCRIPT>
40 %>
41
42 <%= include('footer') %>