X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=ng_selfservice%2Fpayment_webpay.php;h=ff82078b50f41a4283965f071145e8066718f87e;hp=638761d1a975efb373ddd91aa104c2af8128b39c;hb=de549dfea65bf78508b508f03e4f9637122166a6;hpb=a563de5fc2f42abf16fbcfda7cf5bc5f1ce794e7 diff --git a/ng_selfservice/payment_webpay.php b/ng_selfservice/payment_webpay.php index 638761d1a..ff82078b5 100644 --- a/ng_selfservice/payment_webpay.php +++ b/ng_selfservice/payment_webpay.php @@ -1,5 +1,41 @@ -Webpay +start_thirdparty(array( + 'session_id' => $_COOKIE['session_id'], + 'method' => 'CC', + 'amount' => $_POST['amount'], + )); + + include('elements/post_thirdparty.php'); + +} else { + + $payment_info = $freeside->payment_info( array( + 'session_id' => $_COOKIE['session_id'], + ) ); + + $tr_amount_fee = $freeside->mason_comp(array( + 'session_id' => $_COOKIE['session_id'], + 'comp' => '/elements/tr-amount_fee.html', + 'args' => [ 'amount', $payment_info['balance'] ], + )); + $tr_amount_fee = $tr_amount_fee['output']; + + include('elements/error.php'); ?> +
+ + + + + + +
Amount Due$
+
+ +
+