diff --git a/app/Http/Controllers/iLinkTransactionController.php b/app/Http/Controllers/iLinkTransactionController.php index 2dc98be..7580560 100755 --- a/app/Http/Controllers/iLinkTransactionController.php +++ b/app/Http/Controllers/iLinkTransactionController.php @@ -773,7 +773,7 @@ class iLinkTransactionController extends Controller 'exp_month' => date("m", strtotime($user->expiration_date)), 'exp_year' => date("Y", strtotime($user->expiration_date)), 'cvc' => $request->input('cvv'), - 'amount' => $this->toMoneyAmount($transaction->montant_net, $init_country, $final_country), + 'amount' => $transaction->montant_net, 'currency' => $countryCurrency->currency_code, 'payment_method' => 'CARD', 'customer_id' => $user->id, @@ -857,7 +857,7 @@ class iLinkTransactionController extends Controller 'exp_month' => date("m", strtotime($user->expiration_date)), 'exp_year' => date("Y", strtotime($user->expiration_date)), 'cvc' => $request->input('cvv'), - 'amount' => $this->toMoneyAmount($transaction->montant_net, $init_country, $final_country), + 'amount' => $transaction->montant_net, 'currency' => $countryCurrency->currency_code, 'payment_method' => 'CARD', 'customer_id' => $user->id,