We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b1e9e commit 19be11fCopy full SHA for 19be11f
src/LaravelPos.php
@@ -94,11 +94,12 @@ public function account(array $account)
94
* Prepare Order
95
*
96
* @param array $order
97
+ * @param array $card
98
* @return $this
99
*/
- public function prepare(array $order)
100
+ public function prepare(array $order, array $card = [])
101
{
- $this->pos->prepare($order);
102
+ $this->pos->prepare($order, $card);
103
104
return $this;
105
}
@@ -109,7 +110,7 @@ public function prepare(array $order)
109
110
* @param array $card
111
112
- public function payment(array $card)
113
+ public function payment(array $card = [])
114
115
$this->pos->payment($card);
116
0 commit comments