1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Fix for buy now buttons

This commit is contained in:
Hillel Coren 2016-07-16 23:51:05 +03:00
parent e41d47eb0d
commit f8672e3feb

View File

@ -243,7 +243,7 @@ class OnlinePaymentController extends BaseController
$client = $clientRepo->save($data); $client = $clientRepo->save($data);
$data = [ $data = [
'client_id' => $client->public_id, 'client_id' => $client->id,
'invoice_items' => [[ 'invoice_items' => [[
'product_key' => $product->product_key, 'product_key' => $product->product_key,
'notes' => $product->notes, 'notes' => $product->notes,