mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fix value after payment
This commit is contained in:
parent
e5670ed313
commit
f3e578cc5c
@ -56,7 +56,7 @@ trait Utilities
|
||||
$data = [
|
||||
'payment_method' => $_payment->source['id'],
|
||||
'payment_type' => PaymentType::parseCardType(strtolower($_payment->source['scheme'])),
|
||||
'amount' => $this->checkout->payment_hash->data->value,
|
||||
'amount' => $this->checkout->payment_hash->data->raw_value,
|
||||
];
|
||||
|
||||
$payment = $this->checkout->createPayment($data, \App\Models\Payment::STATUS_COMPLETED);
|
||||
|
Loading…
Reference in New Issue
Block a user