Vakif (Vpos724) gateway for Payconn payment processing library
Installation | Supported Methods | Basic Usages
Payconn is a framework agnostic, multi-gateway payment processing library for PHP. This package implements common classes required by Payconn.
$ composer require payconn/vakif
- Vakıf
- Yapı Kredi
- purchase
- authorize
- complete
- refund
- cancel
use Payconn\Common\CreditCard;
use Payconn\Vakif\Token;
use Payconn\Vakif\Model\Purchase;
use Payconn\Vakif\Currency;
use Payconn\Vakif;
$token = new Token('000100000013506', 'VP000579', '123456');
$purchase = new Purchase();
$purchase->setTestMode(true);
$purchase->setCurrency(Currency::TRY);
$purchase->setAmount(100);
$purchase->setInstallment(1);
$purchase->setCreditCard(new CreditCard('4289450189088488', '2023', '04', '060'));
$response = (new Vakif($token))->purchase($purchase);
if($response->isSuccessful()){
// success!
}
Please see UPGRADE for more information on how to upgrade to the latest version.
If you are having general issues with Payconn, we suggest posting on Stack Overflow. Be sure to add the
If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.
If you discover any security related issues, please email muratsac@mail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.