Fix intentional error, added to check error handling mechanism before

remotes/1727228422670709149/master
Uğur Arıcı 5 years ago
parent 03d41d55a3
commit 74e9ff0005
  1. 2
      app/Http/Controllers/DonationController.php

@ -63,7 +63,7 @@ class DonationController extends Controller
$paymentCard->setCardHolderName($request->card_holder_name); $paymentCard->setCardHolderName($request->card_holder_name);
$paymentCard->setCardNumber($request->card_number); $paymentCard->setCardNumber($request->card_number);
$paymentCard->setExpireMonth($request->card_expire_month); $paymentCard->setExpireMonth($request->card_expire_month);
$paymentCard->setExpireYear("120" . $request->card_expire_year); $paymentCard->setExpireYear("20" . $request->card_expire_year);
$paymentCard->setCvc($request->card_cvc); $paymentCard->setCvc($request->card_cvc);
if ($request->frequency !== "once") { if ($request->frequency !== "once") {
$paymentCard->setRegisterCard(1); $paymentCard->setRegisterCard(1);

Loading…
Cancel
Save