Download the PHP package khrdev/paymentgateway without Composer

On this page you can find all versions of the php package khrdev/paymentgateway. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package paymentgateway

paymentgateway

General information about this package.

Installation For laravel 8x

Configure Your Composer.json file to install this package

add below code to your composer.json file

`

run below command to install this package from your command promt or terminal `

if this payment package asked you for username and password here is it or generate your own token.

Information about the installation procedure for this package.

Supported Payment Gateway List

  1. Paytm [^v2.0 supported]
  2. PayPal [^v2.0 supported]
  3. Stripe [^v2.0 supported]
  4. Midtrans [^v2.0 supported]
  5. Razorpay[^v2.0 supported]
  6. Mollie[^v2.0 supported]
  7. FlutterwaveRave[^v2.0 supported]
  8. Paystack[^v2.0 supported]
  9. Payfast[^2.0 supported]
  10. Cashfree [^v2.0 supported]
  11. Instamojo [^v2.0 supported]
  12. Mercado pago [^v2.0 supported]
  13. Squareup [^v2.0]
  14. Cinetpay [^v2.0]
  15. PayTabs [^v2.0]
  16. BillPlz [^v2.0]
  17. Zitopay [^v2.0]
  18. PayU (upcoming)
  19. PerfectMoney (upcoming)
  20. payumoney (upcoming)
  21. Paytr (upcoming)
  22. Authorized.net (upcoming)
  23. Pagseguro (upcoming)

Payment Request Function With params v1

here is an example of a Controller method to charge a customer, this is same for all of available payment gateway in this package

Payment Ipn Function v1

here is an example of a Controller method to ipn response, this is same for all of available payment gateway in this package

Paytm

Checkout Paytm Setup Documentation

Here is Test Credentials For Paytm `

Paytm ipn route example

you must have to excluded paytm ipn route from csrf token verify, go to `app/Http/Middleware`VerifyCsrfTokenMiddleware add your route path here in$except`` array

``

2.0 Setup For Paytm

route and middleware code will be same as version ^1.0, version ^2.0 will change only customer_charge and ipn_response method

charge_customer method example

ipn_response method example

CinetPay

Checkout CinetPay Setup Documentation

Paytm ipn route example

you must have to excluded cinetpay ipn route from csrf token verify, go to `app/Http/Middleware`VerifyCsrfTokenMiddleware add your route path here in$except`` array

``

2.0 Setup For Cinetpay

Cinetpay payment gateway is only supported in version > v2.x

charge_customer method example

ipn_response method example

CinetPay test credentials

PayPal

Checkout Paypal Setup Documentation

Here is Test Credentials For Paypal `

Paypal ipn route example

``

2.0 Setup For Paypal

route and middleware code will be same as version ^1.0, version ^2.0 will change only customer_charge and ipn_response method

charge_customer method example

ipn_response method example

Stripe

Checkout Stripe Setup Documentation

Here is Test Credentials For Stripe `

Stripe ipn route example

``

2.0 Setup For Stripe

route and middleware code will be same as version ^1.0, version ^2.0 will change only customer_charge and ipn_response method

charge_customer method example

ipn_response method example

Midtrans

Checkout Midtrans Setup Documentation

Here is Test Credentials For Midtrans

`

2.0 Setup For Midtrans

route and middleware code will be same as version ^1.0, version ^2.0 will change only customer_charge and ipn_response method

charge_customer method example

ipn_response method example

Midtrans ipn route example

``

Midtrans Test Cards

Razorpay

Checkout Razorpay Setup Documentation

Here is Test Credentials For Razorpay

`

Razorpay ipn route example

``

Razorpay test card

2.0 Setup For Razorpay

route and middleware code will be same as version ^1.0, version ^2.0 will change only customer_charge and ipn_response method

charge_customer method example

ipn_response method example

Mollie

Checkout Mollie Setup Documentation

Here is Test Credentials For Mollie

`

Mollie ipn route example

``

2.0 Setup For Mollie

route and middleware code will be same as version ^1.0, version ^2.0 will change only customer_charge and ipn_response method

charge_customer method example

ipn_response method example

FlutterwaveRave

Checkout Flutterwave Setup Documentation

Here is Test Credentials For Flutterwave

`

FlutterwaveRave ipn route example

``

Test Cards

`

2.0 Setup For Flutterwave

route and middleware code will be same as version ^1.0, version ^2.0 will change only customer_charge and ipn_response method

charge_customer method example

ipn_response method example

Paystack

Checkout Paystack Setup Documentation

Here is Test Credentials For Paystack

`

Paystack ipn route example

``

Note: paystack does not support multiple ipn route, it supports only one webhook you can add in paystack dashboard. you can use $arg['payment_type'] data for check which kind of payment processed

2.0 Setup For Paystack

route and middleware code will be same as version ^1.0, version ^2.0 will change only customer_charge and ipn_response method

charge_customer method example

ipn_response method example

Payfast

Checkout Payfast Setup Documentation

Here is Test Credentials For Payfast

`

Payfast ipn route example

you must have to excluded Payfast ipn route from csrf token verify, go to `app/Http/Middleware`VerifyCsrfTokenMiddleware add your route path here in$except`` array

``

2.0 Setup For Payfast

route and middleware code will be same as version ^1.0, version ^2.0 will change only customer_charge and ipn_response method

charge_customer method example

ipn_response method example

Cashfree

Checkout Cashfree Setup Documentation

Here is Test Credentials For Cashfree `

Cashfree ipn route example

you must have to excluded Cashfree ipn route from csrf token verify, go to `app/Http/Middleware`VerifyCsrfTokenMiddleware add your route path here in$except`` array

``

2.0 Setup For Cashfree

route and middleware code will be same as version ^1.0, version ^2.0 will change only customer_charge and ipn_response method

charge_customer method example

ipn_response method example

Instamojo

Checkout Instamojo Setup Documentation

Here is Test Credentials For Instamojo

`

Instamojo Pago only works with INR currency

Instamojo ipn route example

``

Test Credentials for Instamojo

`

2.0 Setup For Instamojo

route and middleware code will be same as version ^1.0, version ^2.0 will change only customer_charge and ipn_response method

charge_customer method example

ipn_response method example

Mercadopago

Checkout Mercadopago Setup Documentation

Here is Test Credentials For Mercadopago

`

Mercado Pago only works with BRL currency

Mercado ipn route example

``

Test Credentials for Mercadopago

`

2.0 Setup For Instamojo

route and middleware code will be same as version ^1.0, version ^2.0, will change only customer_charge and ipn_response method

charge_customer method example

ipn_response method example

Squareup

Checkout Squareup Setup Documentation

Here is Test Credentials For Squareup

Squareup supported currency list

Squareup ipn route example

``

Api Credentials for Squareup
Test Credentials for Squareup

`

2.0 Setup For Squareup

charge_customer method example

ipn_response method example

PayTabs

Checkout PayTabs Setup Documentation

Here is Test Credentials For PayTabs

PayTabs supported currency list

PayTabs ipn route example

``

Api Credentials for PayTabs
Test Credentials for PayTabs

`

2.0 Setup For PayTabs

charge_customer method example

ipn_response method example for PayTabs

2.0 Setup For BillPlz

Checkout BillPlz Setup Documentation

Billplz supported currency list ['MYR]

Billplz ipn route example

``

charge_customer method example

ipn_response method example for Billplz

2.0 Setup For Zitopay

Checkout Zitopay Setup Documentation

Zitopay supported currency list [ "USD", "EUR", "GBP", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "GEL", "GHS", "GMD", "GNF", "GTQ", "GYD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SCR", "SDG", "SEK", "SGD", "SLL", "SOS", "SRD", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XCD", "XOF", "YER", "ZAR", "ZMW", "ZWD", "XAF", ]

Zitopay ipn route example

you must have to excluded Zitopay ipn route from csrf token verify, go to `app/Http/Middleware`VerifyCsrfTokenMiddleware add your route path here in$except`` array

``

charge_customer method example

ipn_response method example for Zitopay

Currency Conversation For This Package

you must have to add this currency value to work all the payment gateway properly, make sure you have make this rate update able from admin panel required only for version ^1.0 `

Using this package

Information about using this package

Contributing

Information about contributing to this package. Owner Of Package @Sharifur Bug Fix and minor Contributor


All versions of paymentgateway with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
laravel/framework Version ^9.0
stripe/stripe-php Version ^7.103
srmklive/paypal Version ~3.0
midtrans/midtrans-php Version ^2.5
anandsiddharth/laravel-paytm-wallet Version ^2.0.0
razorpay/razorpay Version 2.*
mollie/laravel-mollie Version ^2.0
unicodeveloper/laravel-paystack Version 1.0.*
mercadopago/dx-php Version ^2.4.4
tzsk/payu Version ^6.0.0
square/square Version 18.0.0.20220420
cinetpay/cinetpay-php Version ^1.9
jomweb/billplz-laravel Version ^v3.0.0
sharifur/payfast Version ^v1.0.0
authorizenet/authorizenet Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package khrdev/paymentgateway contains the following files

Loading the files please wait ....