Hệ thống ngân hàng trực tuyến trong php github

ngân hàng trực tuyến

Đây là một hệ thống ngân hàng trực tuyến cho các doanh nghiệp địa phương. easybank chứa giao diện người dùng cũng như hệ thống xác thực người dùng

  1. cài đặt easybank

i] Tải xuống dự án ngân hàng trực tuyến và giải nén

ii] Đổi tên dự án trực tuyến và đặt tên easybank

iii] Copy thư mục easybank vào /var/www/ e. x /var/www/easybank

iv] Nhập easybank. tệp sql từ thư mục sql vào cơ sở dữ liệu của bạn


  1. Sử dụng rút tiền sọc

i] chèn private_test_key và public_test_key từ người dùng vào bảng customers trong cơ sở dữ liệu

ii] Đây là một ví dụ về sử dụng rút tiền theo sọc [có sẵn trong nền tảng]

 $pieces = explode[" ", $_POST['recipient']];
 $lastname = $pieces[0];
 $firstname = $pieces[1]; 

 $sql3  = "select publishable_key_stripe, secret_key_stripe from customers
            where lastname = '$lastname' and firstname = '$firstname'";
 $result3 = $conn->query[$sql3];

 while [$row3 = $result3->fetch_assoc[]]
   {

  echo $row3['publishable_key_stripe'] ."
" .$row3['secret_key_stripe']; require 'widrawals/stripe/Stripe.php'; $params = array[ "testmode" => "on", "private_live_key" => "sk_live_xxxxxxxxxxxxxxxxxxxxx", "public_live_key" => "pk_live_xxxxxxxxxxxxxxxxxxxxx", "private_test_key" => "{$row3['secret_key_stripe']}", "public_test_key" => "{$row3['publishable_key_stripe']}" ]; if [$params['testmode'] == "on"] { Stripe::setApiKey[$params['private_test_key']]; $pubkey = $params['public_test_key']; } else { Stripe::setApiKey[$params['private_live_key']]; $pubkey = $params['public_live_key']; } if[isset[$_POST['stripeToken']]] { $amount_cents = str_replace[".","",$_POST['amount']]; // Chargeble amount $main_amount = $_POST['main_amount']; $secondary_amount = $_POST['secondary_amount']; $amount_cents = $main_amount .$secondary_amount; $length_code = 8; $invoiceid = substr[str_shuffle["123456789"],0, $length_code]; // Invoice ID $description = "Invoice #" . $invoiceid . " - " . $invoiceid; try { $charge = Stripe_Charge::create[array[ "amount" => $amount_cents, "currency" => "usd", "source" => $_POST['stripeToken'], "description" => $description] ]; if [$charge->card->address_zip_check == "fail"] { throw new Exception["zip_check_invalid"]; } else if [$charge->card->address_line1_check == "fail"] { throw new Exception["address_check_invalid"]; } else if [$charge->card->cvc_check == "fail"] { throw new Exception["cvc_check_invalid"]; } // Payment has succeeded, no exceptions were thrown or otherwise caught $result = "success"; } catch[Stripe_CardError $e] { $error = $e->getMessage[]; $result = "declined"; } catch [Stripe_InvalidRequestError $e] { $result = "declined"; } catch [Stripe_AuthenticationError $e] { $result = "declined"; } catch [Stripe_ApiConnectionError $e] { $result = "declined"; } catch [Stripe_Error $e] { $result = "declined"; } catch [Exception $e] { if [$e->getMessage[] == "zip_check_invalid"] { $result = "declined"; } else if [$e->getMessage[] == "address_check_invalid"] { $result = "declined"; } else if [$e->getMessage[] == "cvc_check_invalid"] { $result = "declined"; } else { $result = "declined"; } } if [$result == true] { echo 'alert["This transfer was held successfully."]; '; echo ["location.href='transac_withdrawals.php'"]; } } } // end of while

  1. Thông tin chi tiết

Nó có chuyển tiền cho cùng một hệ thống của doanh nghiệp easybank của bạn cũng như cho bất kỳ hệ thống easybank nào khác của doanh nghiệp khác. Nó có thông tin về di chuyển của người dùng. Bạn có thể xem đại diện cho biểu đồ giao dịch trực tiếp của mình. Nó có thể xuất dữ liệu ở định dạng pdf. Nó chuyển tiền đến và từ tài khoản ngân hàng [sọc] qua thẻ tín dụng từ bất kỳ ngân hàng nào






























Chủ Đề