Update customer for stripe

This commit is contained in:
David Bomba 2022-08-04 13:22:19 +10:00
parent 0ba05bc985
commit 12febeadfe

View File

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