Skip to content

Commit

Permalink
Card fix
Browse files Browse the repository at this point in the history
Signed-off-by: Muharrem ERİN <[email protected]>
  • Loading branch information
mewebstudio committed Aug 14, 2018
1 parent 9000720 commit b718b73
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/LaravelPos.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,22 +92,23 @@ public function account(array $account)
* Prepare Order
*
* @param array $order
* @param array [] $card
* @return $this
*/
public function prepare(array $order)
public function prepare(array $order, array $card = [])
{
$this->pos->prepare($order);
$this->pos->prepare($order, $card);

return $this;
}

/**
* Payment
*
* @param array $card
* @param array [] $card
* @return $this
*/
public function payment(array $card)
public function payment(array $card = [])
{
$this->pos->payment($card);

Expand Down

0 comments on commit b718b73

Please sign in to comment.