2020-06-16 02:21:40 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
2020-09-06 11:38:10 +02:00
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
2020-06-16 02:21:40 +02:00
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
2024-04-12 06:15:41 +02:00
|
|
|
* @copyright Copyright (c) 2024. Invoice Ninja LLC (https://invoiceninja.com)
|
2020-06-16 02:21:40 +02:00
|
|
|
*
|
2021-06-16 08:58:16 +02:00
|
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
2020-06-16 02:21:40 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\PaymentDrivers\Authorize;
|
|
|
|
|
2023-10-26 04:57:44 +02:00
|
|
|
use App\Exceptions\PaymentFailed;
|
|
|
|
use App\Jobs\Util\SystemLogger;
|
|
|
|
use App\Models\ClientGatewayToken;
|
2023-05-25 03:32:17 +02:00
|
|
|
use App\Models\GatewayType;
|
2023-10-26 04:57:44 +02:00
|
|
|
use App\Models\Payment;
|
2020-09-02 11:36:32 +02:00
|
|
|
use App\Models\PaymentHash;
|
2020-06-17 00:48:07 +02:00
|
|
|
use App\Models\PaymentType;
|
2023-10-26 04:57:44 +02:00
|
|
|
use App\Models\SystemLog;
|
2023-05-25 03:32:17 +02:00
|
|
|
use App\PaymentDrivers\AuthorizePaymentDriver;
|
2024-08-09 01:07:23 +02:00
|
|
|
use App\PaymentDrivers\Common\LivewireMethodInterface;
|
2023-10-26 04:57:44 +02:00
|
|
|
use App\Utils\Traits\MakesHash;
|
2023-05-25 03:32:17 +02:00
|
|
|
use net\authorize\api\contract\v1\DeleteCustomerPaymentProfileRequest;
|
2023-10-26 04:57:44 +02:00
|
|
|
use net\authorize\api\contract\v1\DeleteCustomerProfileRequest;
|
2023-05-25 03:32:17 +02:00
|
|
|
use net\authorize\api\controller\DeleteCustomerPaymentProfileController;
|
2023-10-26 04:57:44 +02:00
|
|
|
use net\authorize\api\controller\DeleteCustomerProfileController;
|
2020-06-16 02:21:40 +02:00
|
|
|
|
|
|
|
/**
|
2020-09-06 11:38:10 +02:00
|
|
|
* Class AuthorizeCreditCard.
|
2020-06-16 02:21:40 +02:00
|
|
|
*/
|
2024-08-09 01:07:23 +02:00
|
|
|
class AuthorizeCreditCard implements LivewireMethodInterface
|
2020-06-16 02:21:40 +02:00
|
|
|
{
|
2020-06-16 14:41:56 +02:00
|
|
|
use MakesHash;
|
|
|
|
|
2020-06-16 02:21:40 +02:00
|
|
|
public $authorize;
|
|
|
|
|
|
|
|
public function __construct(AuthorizePaymentDriver $authorize)
|
|
|
|
{
|
|
|
|
$this->authorize = $authorize;
|
|
|
|
}
|
|
|
|
|
2024-08-09 01:07:23 +02:00
|
|
|
public function paymentData(array $data): array
|
2020-06-16 02:21:40 +02:00
|
|
|
{
|
2020-09-06 11:38:10 +02:00
|
|
|
$tokens = ClientGatewayToken::where('client_id', $this->authorize->client->id)
|
|
|
|
->where('company_gateway_id', $this->authorize->company_gateway->id)
|
|
|
|
->where('gateway_type_id', GatewayType::CREDIT_CARD)
|
2023-11-06 16:08:24 +01:00
|
|
|
->orderBy('is_default', 'desc')
|
2020-09-06 11:38:10 +02:00
|
|
|
->get();
|
2020-09-03 12:55:33 +02:00
|
|
|
|
2020-09-06 11:38:10 +02:00
|
|
|
$data['tokens'] = $tokens;
|
2021-01-19 14:36:07 +01:00
|
|
|
$data['gateway'] = $this->authorize;
|
2020-09-06 11:38:10 +02:00
|
|
|
$data['public_client_id'] = $this->authorize->init()->getPublicClientKey();
|
|
|
|
$data['api_login_id'] = $this->authorize->company_gateway->getConfigField('apiLoginId');
|
2020-06-16 06:01:10 +02:00
|
|
|
|
2024-08-09 01:07:23 +02:00
|
|
|
return $data;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function processPaymentView($data)
|
|
|
|
{
|
|
|
|
$data = $this->paymentData($data);
|
|
|
|
|
2021-01-19 14:03:18 +01:00
|
|
|
return render('gateways.authorize.credit_card.pay', $data);
|
2020-06-16 06:00:26 +02:00
|
|
|
}
|
|
|
|
|
2020-06-16 14:41:56 +02:00
|
|
|
public function processPaymentResponse($request)
|
|
|
|
{
|
2020-09-06 11:38:10 +02:00
|
|
|
if ($request->token) {
|
2020-06-16 14:41:56 +02:00
|
|
|
return $this->processTokenPayment($request);
|
2020-09-06 11:38:10 +02:00
|
|
|
}
|
2020-06-16 14:41:56 +02:00
|
|
|
|
|
|
|
$data = $request->all();
|
2020-09-06 11:38:10 +02:00
|
|
|
|
2020-06-17 03:36:29 +02:00
|
|
|
$authorise_create_customer = new AuthorizeCreateCustomer($this->authorize, $this->authorize->client);
|
2020-06-16 14:41:56 +02:00
|
|
|
|
2020-06-17 03:36:29 +02:00
|
|
|
$gateway_customer_reference = $authorise_create_customer->create($data);
|
2020-09-06 11:38:10 +02:00
|
|
|
|
2023-05-25 03:32:17 +02:00
|
|
|
if ($request->has('store_card') && $request->input('store_card') === true) {
|
2020-06-17 03:36:29 +02:00
|
|
|
|
2023-05-25 03:32:17 +02:00
|
|
|
$authorise_payment_method = new AuthorizePaymentMethod($this->authorize);
|
2020-09-06 11:38:10 +02:00
|
|
|
|
2023-05-25 03:32:17 +02:00
|
|
|
$payment_profile = $authorise_payment_method->addPaymentMethodToClient($gateway_customer_reference, $data);
|
|
|
|
$payment_profile_id = $payment_profile->getPaymentProfile()->getCustomerPaymentProfileId();
|
|
|
|
|
|
|
|
$data = (new ChargePaymentProfile($this->authorize))->chargeCustomerProfile($gateway_customer_reference, $payment_profile_id, $data['amount_with_fee']);
|
2022-02-14 00:38:47 +01:00
|
|
|
|
2020-06-17 11:46:12 +02:00
|
|
|
$authorise_payment_method->payment_method = GatewayType::CREDIT_CARD;
|
2020-06-16 14:41:56 +02:00
|
|
|
$client_gateway_token = $authorise_payment_method->createClientGatewayToken($payment_profile, $gateway_customer_reference);
|
2023-05-25 03:32:17 +02:00
|
|
|
|
2022-06-21 11:57:17 +02:00
|
|
|
} else {
|
2023-05-25 03:32:17 +02:00
|
|
|
|
|
|
|
$authorise_transaction = new AuthorizeTransaction($this->authorize);
|
|
|
|
$data = $authorise_transaction->chargeCustomer($gateway_customer_reference, $data);
|
|
|
|
|
|
|
|
$transaction_id = $data['transaction_id'];
|
|
|
|
nlog($transaction_id);
|
|
|
|
|
2022-02-14 00:38:47 +01:00
|
|
|
}
|
2020-06-17 03:36:29 +02:00
|
|
|
|
|
|
|
return $this->handleResponse($data, $request);
|
2020-06-16 14:41:56 +02:00
|
|
|
}
|
|
|
|
|
2022-02-14 00:38:47 +01:00
|
|
|
private function removePaymentProfile($customer_profile_id, $customer_payment_profile_id)
|
|
|
|
{
|
2022-06-21 11:57:17 +02:00
|
|
|
$request = new DeleteCustomerPaymentProfileRequest();
|
|
|
|
$request->setMerchantAuthentication($this->authorize->merchant_authentication);
|
|
|
|
$request->setCustomerProfileId($customer_profile_id);
|
|
|
|
$request->setCustomerPaymentProfileId($customer_payment_profile_id);
|
|
|
|
$controller = new DeleteCustomerPaymentProfileController($request);
|
|
|
|
$response = $controller->executeWithApiResponse($this->authorize->mode());
|
|
|
|
|
|
|
|
if (($response != null) && ($response->getMessages()->getResultCode() == 'Ok')) {
|
|
|
|
nlog('SUCCESS: Delete Customer Payment Profile SUCCESS');
|
|
|
|
} else {
|
2022-02-14 00:38:47 +01:00
|
|
|
nlog("unable to delete profile {$customer_profile_id} with payment id {$customer_payment_profile_id}");
|
2022-06-21 11:57:17 +02:00
|
|
|
}
|
2022-02-14 00:38:47 +01:00
|
|
|
|
2022-06-21 11:57:17 +02:00
|
|
|
// Delete a customer profile
|
2023-02-16 02:36:09 +01:00
|
|
|
// $request = new DeleteCustomerProfileRequest();
|
|
|
|
// $request->setMerchantAuthentication($this->authorize->merchant_authentication);
|
|
|
|
// $request->setCustomerProfileId( $customer_profile_id );
|
|
|
|
|
|
|
|
// $controller = new DeleteCustomerProfileController($request);
|
|
|
|
// $response = $controller->executeWithApiResponse($this->authorize->mode());
|
|
|
|
// if (($response != null) && ($response->getMessages()->getResultCode() == "Ok") )
|
|
|
|
// {
|
2023-10-26 04:57:44 +02:00
|
|
|
// nlog("SUCCESS: Delete Customer Payment Profile SUCCESS");
|
2023-02-16 02:36:09 +01:00
|
|
|
// }
|
|
|
|
// else
|
|
|
|
// nlog("unable to delete profile {$customer_profile_id}");
|
2022-02-14 00:38:47 +01:00
|
|
|
}
|
|
|
|
|
2020-06-16 14:41:56 +02:00
|
|
|
private function processTokenPayment($request)
|
|
|
|
{
|
2021-01-27 12:45:38 +01:00
|
|
|
$client_gateway_token = ClientGatewayToken::query()
|
|
|
|
->where('id', $this->decodePrimaryKey($request->token))
|
2022-02-16 03:24:10 +01:00
|
|
|
->where('company_id', auth()->guard('contact')->user()->client->company->id)
|
2021-01-27 12:45:38 +01:00
|
|
|
->first();
|
|
|
|
|
2022-06-21 11:57:17 +02:00
|
|
|
if (! $client_gateway_token) {
|
2021-01-27 12:45:38 +01:00
|
|
|
throw new PaymentFailed(ctrans('texts.payment_token_not_found'), 401);
|
|
|
|
}
|
2020-06-16 14:41:56 +02:00
|
|
|
|
2020-06-17 13:15:24 +02:00
|
|
|
$data = (new ChargePaymentProfile($this->authorize))->chargeCustomerProfile($client_gateway_token->gateway_customer_reference, $client_gateway_token->token, $request->input('amount_with_fee'));
|
2020-06-16 15:31:08 +02:00
|
|
|
|
2020-06-17 00:48:07 +02:00
|
|
|
return $this->handleResponse($data, $request);
|
2020-06-16 15:31:08 +02:00
|
|
|
}
|
|
|
|
|
2021-01-26 10:11:29 +01:00
|
|
|
public function tokenBilling($cgt, $payment_hash)
|
2020-06-16 15:31:08 +02:00
|
|
|
{
|
2020-09-04 00:01:17 +02:00
|
|
|
$amount = array_sum(array_column($payment_hash->invoices(), 'amount')) + $payment_hash->fee_total;
|
|
|
|
|
|
|
|
$data = (new ChargePaymentProfile($this->authorize))->chargeCustomerProfile($cgt->gateway_customer_reference, $cgt->token, $amount);
|
2020-07-13 06:46:16 +02:00
|
|
|
|
2022-06-21 11:57:17 +02:00
|
|
|
$response = $data['response'];
|
2021-01-26 10:39:52 +01:00
|
|
|
|
2021-09-16 00:33:08 +02:00
|
|
|
// if ($response != null && $response->getMessages()->getResultCode() == 'Ok') {
|
|
|
|
if ($response != null && $response->getMessages() != null) {
|
2020-11-26 12:35:17 +01:00
|
|
|
$this->storePayment($payment_hash, $data);
|
2020-12-21 12:10:28 +01:00
|
|
|
|
2020-07-13 06:56:07 +02:00
|
|
|
$vars = [
|
2021-01-26 10:39:52 +01:00
|
|
|
'invoices' => $payment_hash->invoices(),
|
2020-09-06 11:38:10 +02:00
|
|
|
'amount' => $amount,
|
2020-07-13 06:56:07 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
$logger_message = [
|
2021-08-17 02:15:05 +02:00
|
|
|
'server_response' => $response->getTransId(),
|
2020-09-06 11:38:10 +02:00
|
|
|
'data' => $this->formatGatewayResponse($data, $vars),
|
2020-07-13 06:56:07 +02:00
|
|
|
];
|
|
|
|
|
2021-07-03 01:26:49 +02:00
|
|
|
SystemLogger::dispatch($logger_message, SystemLog::CATEGORY_GATEWAY_RESPONSE, SystemLog::EVENT_GATEWAY_SUCCESS, SystemLog::TYPE_AUTHORIZE, $this->authorize->client, $this->authorize->client->company);
|
2020-07-13 06:56:07 +02:00
|
|
|
|
2020-09-06 11:38:10 +02:00
|
|
|
return true;
|
|
|
|
} else {
|
2021-01-26 10:53:18 +01:00
|
|
|
$vars = [
|
|
|
|
'invoices' => $payment_hash->invoices(),
|
|
|
|
'amount' => $amount,
|
|
|
|
];
|
|
|
|
|
|
|
|
$logger_message = [
|
2021-08-17 02:15:05 +02:00
|
|
|
'server_response' => $response->getTransId(),
|
2021-01-26 10:53:18 +01:00
|
|
|
'data' => $this->formatGatewayResponse($data, $vars),
|
|
|
|
];
|
|
|
|
|
2022-06-21 11:57:17 +02:00
|
|
|
$code = 'Error';
|
|
|
|
$description = 'There was an error processing the payment';
|
2021-10-17 12:40:40 +02:00
|
|
|
|
|
|
|
if ($response->getErrors() != null) {
|
|
|
|
$code = $response->getErrors()[0]->getErrorCode();
|
|
|
|
$description = $response->getErrors()[0]->getErrorText();
|
|
|
|
}
|
|
|
|
|
|
|
|
$this->authorize->sendFailureMail($description);
|
2021-01-26 13:09:08 +01:00
|
|
|
|
2021-05-19 03:12:23 +02:00
|
|
|
SystemLogger::dispatch($logger_message, SystemLog::CATEGORY_GATEWAY_RESPONSE, SystemLog::EVENT_GATEWAY_FAILURE, SystemLog::TYPE_AUTHORIZE, $this->authorize->client, $this->authorize->client->company);
|
2021-01-27 12:45:38 +01:00
|
|
|
|
2020-07-14 14:50:16 +02:00
|
|
|
return false;
|
2020-07-13 06:46:16 +02:00
|
|
|
}
|
2020-07-08 08:54:16 +02:00
|
|
|
}
|
2020-09-06 11:38:10 +02:00
|
|
|
|
2020-07-08 08:54:16 +02:00
|
|
|
private function handleResponse($data, $request)
|
2020-09-06 11:38:10 +02:00
|
|
|
{
|
2020-06-16 15:31:08 +02:00
|
|
|
$response = $data['response'];
|
|
|
|
|
2021-08-17 02:15:05 +02:00
|
|
|
// if ($response != null && $response->getMessages()->getResultCode() == 'Ok') {
|
|
|
|
if ($response != null && $response->getMessages() != null) {
|
2020-06-16 15:31:08 +02:00
|
|
|
return $this->processSuccessfulResponse($data, $request);
|
2020-09-06 11:38:10 +02:00
|
|
|
}
|
2020-06-16 15:31:08 +02:00
|
|
|
|
|
|
|
return $this->processFailedResponse($data, $request);
|
|
|
|
}
|
|
|
|
|
2020-09-03 05:22:05 +02:00
|
|
|
private function storePayment($payment_hash, $data)
|
|
|
|
{
|
|
|
|
$amount = array_sum(array_column($payment_hash->invoices(), 'amount')) + $payment_hash->fee_total;
|
|
|
|
|
2020-11-26 12:35:17 +01:00
|
|
|
$response = $data['response'];
|
2020-09-03 05:22:05 +02:00
|
|
|
|
2020-11-26 12:35:17 +01:00
|
|
|
$payment_record = [];
|
|
|
|
$payment_record['amount'] = $amount;
|
2020-11-27 12:08:42 +01:00
|
|
|
$payment_record['payment_type'] = PaymentType::CREDIT_CARD_OTHER;
|
2021-01-27 12:45:38 +01:00
|
|
|
$payment_record['gateway_type_id'] = GatewayType::CREDIT_CARD;
|
2021-08-17 02:15:05 +02:00
|
|
|
$payment_record['transaction_reference'] = $response->getTransId();
|
2020-09-03 05:22:05 +02:00
|
|
|
|
2020-11-26 12:35:17 +01:00
|
|
|
$payment = $this->authorize->createPayment($payment_record);
|
2020-09-03 05:22:05 +02:00
|
|
|
|
|
|
|
return $payment;
|
|
|
|
}
|
|
|
|
|
2020-07-13 06:46:16 +02:00
|
|
|
private function processSuccessfulResponse($data, $request)
|
|
|
|
{
|
2022-02-26 08:48:22 +01:00
|
|
|
$payment_hash = PaymentHash::where('hash', $request->input('payment_hash'))->firstOrFail();
|
2020-09-03 05:22:05 +02:00
|
|
|
$payment = $this->storePayment($payment_hash, $data);
|
2020-06-16 16:29:39 +02:00
|
|
|
|
2020-07-13 06:56:07 +02:00
|
|
|
$vars = [
|
2020-09-03 13:22:49 +02:00
|
|
|
'invoices' => $payment_hash->invoices(),
|
2020-09-06 11:38:10 +02:00
|
|
|
'amount' => array_sum(array_column($payment_hash->invoices(), 'amount')) + $payment_hash->fee_total,
|
2020-07-13 06:56:07 +02:00
|
|
|
];
|
|
|
|
|
2020-06-16 16:29:39 +02:00
|
|
|
$logger_message = [
|
2021-08-17 02:15:05 +02:00
|
|
|
'server_response' => $data['response']->getTransId(),
|
2020-09-06 11:38:10 +02:00
|
|
|
'data' => $this->formatGatewayResponse($data, $vars),
|
2020-06-16 16:29:39 +02:00
|
|
|
];
|
|
|
|
|
2021-01-12 10:35:47 +01:00
|
|
|
SystemLogger::dispatch(
|
2021-01-13 15:36:28 +01:00
|
|
|
$logger_message,
|
|
|
|
SystemLog::CATEGORY_GATEWAY_RESPONSE,
|
|
|
|
SystemLog::EVENT_GATEWAY_SUCCESS,
|
|
|
|
SystemLog::TYPE_AUTHORIZE,
|
2021-05-19 03:12:23 +02:00
|
|
|
$this->authorize->client,
|
|
|
|
$this->authorize->client->company,
|
2021-01-19 14:03:18 +01:00
|
|
|
);
|
2020-06-16 16:29:39 +02:00
|
|
|
|
2020-06-16 15:31:08 +02:00
|
|
|
return redirect()->route('client.payments.show', ['payment' => $this->encodePrimaryKey($payment->id)]);
|
2020-06-16 14:41:56 +02:00
|
|
|
}
|
|
|
|
|
2020-06-16 16:29:39 +02:00
|
|
|
private function processFailedResponse($data, $request)
|
2020-09-06 11:38:10 +02:00
|
|
|
{
|
2021-01-26 13:09:08 +01:00
|
|
|
$response = $data['response'];
|
2021-07-08 23:57:31 +02:00
|
|
|
$amount = array_key_exists('amount_with_fee', $data) ? $data['amount_with_fee'] : 0;
|
2021-01-26 13:09:08 +01:00
|
|
|
|
2022-05-02 00:10:12 +02:00
|
|
|
$code = 1;
|
2022-06-21 11:57:17 +02:00
|
|
|
$description = 'There was an error processing the payment';
|
2021-08-17 10:58:27 +02:00
|
|
|
|
2022-03-16 06:29:39 +01:00
|
|
|
if ($response && $response->getErrors() != null) {
|
2022-06-21 11:57:17 +02:00
|
|
|
$code = (int) $response->getErrors()[0]->getErrorCode();
|
2021-08-17 10:58:27 +02:00
|
|
|
$description = $response->getErrors()[0]->getErrorText();
|
|
|
|
}
|
|
|
|
|
2021-10-17 12:40:40 +02:00
|
|
|
$this->authorize->sendFailureMail($description);
|
2021-08-17 10:58:27 +02:00
|
|
|
|
2022-06-21 11:57:17 +02:00
|
|
|
$payment_hash = PaymentHash::where('hash', $request->input('payment_hash'))->firstOrFail();
|
2021-08-17 11:48:40 +02:00
|
|
|
|
|
|
|
$vars = [
|
|
|
|
'invoices' => $payment_hash->invoices(),
|
|
|
|
'amount' => array_sum(array_column($payment_hash->invoices(), 'amount')) + $payment_hash->fee_total,
|
|
|
|
];
|
|
|
|
|
|
|
|
$logger_message = [
|
|
|
|
'server_response' => $response->getErrors(),
|
|
|
|
'data' => $this->formatGatewayResponse($data, $vars),
|
|
|
|
];
|
|
|
|
|
|
|
|
SystemLogger::dispatch(
|
|
|
|
$logger_message,
|
|
|
|
SystemLog::CATEGORY_GATEWAY_RESPONSE,
|
|
|
|
SystemLog::EVENT_GATEWAY_ERROR,
|
2021-08-17 12:08:49 +02:00
|
|
|
SystemLog::TYPE_AUTHORIZE,
|
2021-08-17 11:48:40 +02:00
|
|
|
$this->authorize->client,
|
|
|
|
$this->authorize->client->company,
|
|
|
|
);
|
|
|
|
|
2021-08-17 10:58:27 +02:00
|
|
|
throw new PaymentFailed($description, $code);
|
2020-06-16 02:21:40 +02:00
|
|
|
}
|
|
|
|
|
2020-07-13 06:56:07 +02:00
|
|
|
private function formatGatewayResponse($data, $vars)
|
2020-06-16 16:29:39 +02:00
|
|
|
{
|
|
|
|
$response = $data['response'];
|
|
|
|
|
2021-03-30 07:10:31 +02:00
|
|
|
$code = '';
|
|
|
|
$description = '';
|
|
|
|
|
2022-06-21 11:57:17 +02:00
|
|
|
if ($response->getMessages() !== null) {
|
2021-08-17 02:15:05 +02:00
|
|
|
$code = $response->getMessages()[0]->getCode();
|
|
|
|
$description = $response->getMessages()[0]->getDescription();
|
|
|
|
}
|
|
|
|
|
|
|
|
if ($response->getErrors() != null) {
|
|
|
|
$code = $response->getErrors()[0]->getErrorCode();
|
|
|
|
$description = $response->getErrors()[0]->getErrorText();
|
2021-03-30 03:28:49 +02:00
|
|
|
}
|
|
|
|
|
2020-06-16 16:29:39 +02:00
|
|
|
return [
|
2021-08-17 02:15:05 +02:00
|
|
|
'transaction_reference' => $response->getTransId(),
|
2020-07-13 06:56:07 +02:00
|
|
|
'amount' => $vars['amount'],
|
2021-08-17 02:15:05 +02:00
|
|
|
'auth_code' => $response->getAuthCode(),
|
2021-03-30 03:28:49 +02:00
|
|
|
'code' => $code,
|
|
|
|
'description' => $description,
|
2020-09-03 12:55:33 +02:00
|
|
|
'invoices' => $vars['invoices'],
|
2020-06-16 16:29:39 +02:00
|
|
|
];
|
|
|
|
}
|
2024-08-09 01:07:23 +02:00
|
|
|
|
|
|
|
public function livewirePaymentView(array $data): string
|
|
|
|
{
|
|
|
|
return 'gateways.authorize.credit_card.pay_livewire';
|
|
|
|
}
|
2020-09-06 11:38:10 +02:00
|
|
|
}
|