mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
remove unneeded index.html
This commit is contained in:
parent
6bf597b4ee
commit
6b9cca14fb
@ -76,8 +76,10 @@ class AuthorizeCreditCard
|
||||
|
||||
$payment_profile = $authorise_payment_method->addPaymentMethodToClient($gateway_customer_reference, $data);
|
||||
|
||||
if($request->has('store_card') && $request->input('store_card'))
|
||||
if($request->has('store_card') && $request->input('store_card')){
|
||||
$authorise_payment_method->payment_method = GatewayType::CREDIT_CARD;
|
||||
$client_gateway_token = $authorise_payment_method->createClientGatewayToken($payment_profile, $gateway_customer_reference);
|
||||
}
|
||||
|
||||
$data = (new ChargePaymentProfile($this->authorize))->chargeCustomerProfile($gateway_customer_reference, $payment_profile, $data['amount_with_fee']);
|
||||
|
||||
|
@ -120,7 +120,7 @@ class AuthorizePaymentMethod
|
||||
|
||||
}
|
||||
|
||||
private function createClientGatewayToken($payment_profile, $gateway_customer_reference)
|
||||
public function createClientGatewayToken($payment_profile, $gateway_customer_reference)
|
||||
{
|
||||
info(print_r($payment_profile,1));
|
||||
|
||||
@ -149,7 +149,7 @@ class AuthorizePaymentMethod
|
||||
return $payment_meta;
|
||||
}
|
||||
|
||||
private function addPaymentMethodToClient($gateway_customer_reference, $data)
|
||||
public function addPaymentMethodToClient($gateway_customer_reference, $data)
|
||||
{
|
||||
|
||||
error_reporting (E_ALL & ~E_DEPRECATED);
|
||||
|
@ -1,25 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Invoice Ninja</title>
|
||||
<link rel="manifest" href="manifest.json">
|
||||
</head>
|
||||
<body style="background-color:#888888;">
|
||||
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function () {
|
||||
navigator.serviceWorker.register('/flutter_service_worker.js');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
<script src="main.dart.js" type="application/javascript"></script>
|
||||
|
||||
<center style="font-family:Tahoma,Geneva,sans-serif;font-size:28px;color:white;padding-top:100px">
|
||||
Loading...
|
||||
</center>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -23,7 +23,7 @@
|
||||
<input type="hidden" name="dataDescriptor" id="dataDescriptor" />
|
||||
<input type="hidden" name="token" id="token" />
|
||||
<input type="hidden" name="store_card" id="store_card" />
|
||||
<input type="hidden" name="amount" id="amount" value="{{ $amount_with_fee }}" />
|
||||
<input type="hidden" name="amount_with_fee" id="amount_with_fee" value="{{ $amount_with_fee }}" />
|
||||
</form>
|
||||
<div class="container mx-auto">
|
||||
<div class="grid grid-cols-6 gap-4">
|
||||
|
Loading…
Reference in New Issue
Block a user