SkillAgentSearch skills...

Nestpay

[Pratika] Nestpay (A Bank, Ak Bank, Anadolu Bank, Finans Bank, Halk Bank, ING Bank, İş Bank, Şeker Bank, Türk Ekonomi Bank (TEB), Ziraat Bank) gateway for Payconn payment processing library

Install / Use

/learn @payconn/Nestpay
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"> <a href="https://www.paratika.com.tr/"><img width="200" src="https://www.paratika.com.tr/wp-content/themes/wp-bootstrap-starter/img/paratika-logo.png"></a> </p> <h3 align="center">Payconn: Nestpay (EST)</h3> <p align="center">Nestpay (A Bank, Ak Bank, Anadolu Bank, Finans Bank, Halk Bank, ING Bank, İş Bank, Şeker Bank, Türk Ekonomi Bank (TEB), Ziraat Bank) gateway for Payconn payment processing library</p> <p align="center"> <a href="https://travis-ci.com/payconn/nestpay"><img src="https://travis-ci.com/payconn/nestpay.svg?branch=master" /></a> </p> <hr> <p align="center"> <b><a href="#installation">Installation</a></b> | <b><a href="#supported-methods">Supported Methods</a></b> | <b><a href="#basic-usages">Basic Usages</a></b> </p> <hr> <br>

Payconn is a framework agnostic, multi-gateway payment processing library for PHP. This package implements common classes required by Payconn.

Installation

$ composer require payconn/nestpay

Supported methods

  • purchase
  • authorize
  • complete
  • refund
  • cancel

Basic Usages

use Payconn\Common\CreditCard;
use Payconn\Nestpay\Token;
use Payconn\Nestpay\Currency;
use Payconn\Nestpay\Model\Purchase;
use Payconn\Akbank;

$token = new Token('CLIENT_ID', 'USERNAME', 'PASS');
$creditCard = new CreditCard('4355084355084358', '26', '12', '000');
$purchase = new Purchase();
$purchase->setAmount(1);
$purchase->setInstallment(1);
$purchase->setCurrency(Currency::TRY);
$purchase->setCreditCard($creditCard);
$purchase->setTestMode(true);
$response = (AkBank($token))->purchase($purchase);
if($response->isSuccessful()){
    // success!
}

Change log

Please see UPGRADE for more information on how to upgrade to the latest version.

Support

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.

Security

If you discover any security related issues, please email muratsac@mail.com instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

View on GitHub
GitHub Stars20
CategoryDevelopment
Updated1y ago
Forks2

Languages

PHP

Security Score

60/100

Audited on Nov 26, 2024

No findings