1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Merge pull request #6469 from turbo124/v5-develop

Fix typo in Apple Pay
This commit is contained in:
David Bomba 2021-08-16 19:09:32 +10:00 committed by GitHub
commit 07d23c406b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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']]);