From 12febeadfef62bb0bb91cb2ac268d0fb6de06bf9 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 4 Aug 2022 13:22:19 +1000 Subject: [PATCH] Update customer for stripe --- app/PaymentDrivers/Stripe/CreditCard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/Stripe/CreditCard.php b/app/PaymentDrivers/Stripe/CreditCard.php index 1b8525c2f8a1..f0ca05eaa34d 100644 --- a/app/PaymentDrivers/Stripe/CreditCard.php +++ b/app/PaymentDrivers/Stripe/CreditCard.php @@ -130,7 +130,7 @@ class CreditCard public function processSuccessfulPayment() { - UpdateCustomer::dispatch($this->stripe->company->company_key, $this->stripe->company_gateway->id, $this->stripe->client->id); + UpdateCustomer::dispatch($this->stripe->company_gateway->company->company_key, $this->stripe->company_gateway->id, $this->stripe->client->id); $stripe_method = $this->stripe->getStripePaymentMethod($this->stripe->payment_hash->data->server_response->payment_method);