Minor fixes

This commit is contained in:
Lars Kusch 2022-12-16 14:52:45 +01:00
parent d4a99ad64a
commit f9434c8cc1

View File

@ -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);