8000 GitHub - muhittingulap/pay360: PHP OOP Pay360 integration
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

muhittingulap/pay360

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-OOP Pay360 Api integration

Latest Stable Version Total Downloads License

Get Started

PHP OOP Pay360 Api integration

Documentation (pay360)

Click

Install

$ composer require muhittingulap/pay360

Using in your project

    <?php     
    include('vendor/autoload.php');

    $payService = new \PAY360\libraries\transactions();
    $custService = new \PAY360\libraries\customers();

Config

Parametre Detail
username API Username (pay360 Information contained in the mail sent by)
password API Password (pay360 Information contained in the mail sent by)
cardLockId CardLock ID (pay360 Information contained in the mail sent by)
hostedCashierId Installations Hosted Cashier (pay360 Information contained in the mail sent by)
cashierId Installations Cashier API (pay360 Information contained in the mail sent by)
type 0: Test 1: Prod

Use

  <?php 
  $payService->setUsername()
             ->setPassword()
             ->setCardLockId()
             ->setHostedCashierId()
             ->setType(); // 0:test 1:prod

Transaction Methods

- Verify

  <?php 
  $payService->setPostData($p_data) // $p_data -> array data -> review documents
             ->verify();

- Payment

  <?php 
  $payService->setPostData($p_data) // $p_data -> array data -> review documents
             ->payment();

- 3D Resume

  <?php 
  $return=$payService->resume(); // return data -> review documents

- Refund

  <?php 
   $payService->setPostData($p_data) // $p_data -> array data -> full refund or partial refund -> review documents
             ->refund();

Customers Methods

- Payment Method Remove

  <?php 
  $custService->setCardToken()// pa360 card token
              ->setCustomerId() // pa360 customer Id
              ->paymentMethodRemove();
0