Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chadrackkanza committed Sep 7, 2023
1 parent 3f3a149 commit 7210d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Flexpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ public function b2c(string $phoneNumber, float $amount, string $currency, string
}

public function cardPayment(string $reference , string $description , float $amount, string $currency,
string $callbackUrl, string $approveUrl, string $cancelUrl, string $declineUrl,string $homeUrl, )
string $callbackUrl, string $approveUrl, string $cancelUrl, string $declineUrl,string $homeUrl )
{
$result = $this->init(
$this->URL_API_CARD,
[
"merchant" => $this->MERCHANT,
"reference" => $reference ,
"description" => $description ,
"amount" => $this->calcTotalAmount($amount, $commission),
"amount" => $this->calcTotalAmount($amount),
"currency" => $currency,
"callback_url" => $callbackUrl,
"approve_url" => $approveUrl,
Expand Down

0 comments on commit 7210d46

Please sign in to comment.