Fix typo in Apple Pay

This commit is contained in:
David Bomba 2021-08-16 19:09:20 +10:00
parent 10fd93185d
commit 669164f2f2

View File

@ -48,7 +48,7 @@ class ApplePay
$data['intent'] = \Stripe\PaymentIntent::create([ $data['intent'] = \Stripe\PaymentIntent::create([
'amount' => $data['stripe_amount'], 'amount' => $data['stripe_amount'],
'currency' => $this->stripe_driver->client->getCurrencyCode();, 'currency' => $this->stripe_driver->client->getCurrencyCode(),
], $this->stripe_driver->stripe_connect_auth); ], $this->stripe_driver->stripe_connect_auth);
$this->stripe_driver->payment_hash->data = array_merge((array) $this->stripe_driver->payment_hash->data, ['stripe_amount' => $data['stripe_amount']]); $this->stripe_driver->payment_hash->data = array_merge((array) $this->stripe_driver->payment_hash->data, ['stripe_amount' => $data['stripe_amount']]);