X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=fs_selfservice%2Fphp%2Forder_renew.php;fp=fs_selfservice%2Fphp%2Forder_renew.php;h=fa2a4e504a682960cb18d88870cf961f3f419895;hb=a288c2733ae05f04af707133671e79f32efd9eb2;hp=0000000000000000000000000000000000000000;hpb=3034abf97db1bcabb0fc81e565f3f6cccd9de827;p=freeside.git diff --git a/fs_selfservice/php/order_renew.php b/fs_selfservice/php/order_renew.php new file mode 100644 index 000000000..fa2a4e504 --- /dev/null +++ b/fs_selfservice/php/order_renew.php @@ -0,0 +1,164 @@ +renew_info( array( + 'session_id' => $session_id, +) ); + +$error = $renew_info['error']; + +if ( $error ) { + header('Location:login.php?error='. urlencode($error)); + die(); +} + +#in the simple case, just deal with the first package +$bill_date = $renew_info['dates'][0]['bill_date']; +$bill_date_pretty = $renew_info['dates'][0]['bill_date_pretty']; +$renew_date = $renew_info['dates'][0]['renew_date']; +$renew_date_pretty = $renew_info['dates'][0]['renew_date_pretty']; +$amount = $renew_info['dates'][0]['amount']; + +$payment_info = $freeside->payment_info( array( + 'session_id' => $session_id, +) ); + +extract($payment_info); + +?> + + + + Renew Early + + +

Renew Early

+ +
+ + + + + + A payment of $ will renew your account through .

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Amount +
+ $ +
+
Card type + +
Card number + + + + + + + + +
+ Exp. + + / + +
+
CVV2 (help)
Exact name on card
Card billing address + +
Address line 2 + +
City + + + + + + + + +
+ + State + + Zip + +
+
+ + Remember this information +
+ CHECKED NAME="auto" VALUE="1" onClick="if (this.checked) { document.OneTrueForm.save.checked=true; }"> + Charge future payments to this card automatically +
+
+ + +
+ + +