mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:24:31 -04:00
Minor fixes
This commit is contained in:
parent
d4a99ad64a
commit
f9434c8cc1
@ -52,7 +52,6 @@ class BACS
|
|||||||
{
|
{
|
||||||
return route('client.payments.response', [
|
return route('client.payments.response', [
|
||||||
'company_gateway_id' => $this->stripe->company_gateway->id,
|
'company_gateway_id' => $this->stripe->company_gateway->id,
|
||||||
'payment_hash' => $this->stripe->payment_hash->hash,
|
|
||||||
'payment_method_id' => GatewayType::BACS,
|
'payment_method_id' => GatewayType::BACS,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
@ -61,6 +60,8 @@ class BACS
|
|||||||
{
|
{
|
||||||
$this->stripe->init();
|
$this->stripe->init();
|
||||||
|
|
||||||
|
$customer = $this->stripe->findOrCreateCustomer();
|
||||||
|
|
||||||
$stripe_response = json_decode($request->input('gateway_response'));
|
$stripe_response = json_decode($request->input('gateway_response'));
|
||||||
|
|
||||||
$stripe_method = $this->stripe->getStripePaymentMethod($stripe_response->payment_method);
|
$stripe_method = $this->stripe->getStripePaymentMethod($stripe_response->payment_method);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user