PHP code example of jn-devops / paymate

1. Go to this page and download the library: Download jn-devops/paymate library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jn-devops / paymate example snippets


return [
    
];
bash
php artisan vendor:publish --tag="paymate-views"

$jsonInput =[{   
    "referenceCode"=>"",//alpha-numeric
    "amount"=> ""//integer 

$jsonInput =[{  
    "buyerName"=>"", //text 
    "email"=> "",
    "expirationMonth"=>"",// mm 
    "expirationYear"=>"",// yyyy
    "securityCode"=>"",// interger/CVV
    "pan"=>"",//card number
    "referenceCode"=>"",//alpha-numeric
    "amount"=>""//integer 

$jsonInput = [{
    "referenceCode" => "", //alpha-numberic
    "amount" => ""//interger 

$jsonInput =[{  
    "wallet":"",//gcash or grabpay 
    "referenceCode"=>"",//alpha-numeric
    "amount"=> ""//integer