public function activateUserCard($login, $cardId, $amount) { $this->configureEWalletWithUser($login); $res = PaytureEWalletCard::Activate(['CardId' => $cardId, 'Amount' => $amount]); return !property_exists($res, 'ErrCode'); }
/** * This command is used to activate prevously registered payment card * When prompted, the User must input the exact amount blocked on his card. * If the blocked amount is specified correctly, the card will be activated and the amount will be unblocked. * If the blocked amount is specified incorrectly, the blocked amount can only be unblocked upon a separate request. * * @param array $data Payment parameters * * @return \stdClass */ public static function CardActivate($data = array()) { return PaytureEWalletCard::Activate($data); }