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.
Download khrdev/paymentgateway
More information about khrdev/paymentgateway
Files in khrdev/paymentgateway
Package paymentgateway
Short Description a laravel package to manage multiple payment gateway
License MIT
Homepage https://github.com/Khrdev/paymentgateway
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
- Paytm [^v2.0 supported]
- PayPal [^v2.0 supported]
- Stripe [^v2.0 supported]
- Midtrans [^v2.0 supported]
- Razorpay[^v2.0 supported]
- Mollie[^v2.0 supported]
- FlutterwaveRave[^v2.0 supported]
- Paystack[^v2.0 supported]
- Payfast[^2.0 supported]
- Cashfree [^v2.0 supported]
- Instamojo [^v2.0 supported]
- Mercado pago [^v2.0 supported]
- Squareup [^v2.0]
- Cinetpay [^v2.0]
- PayTabs [^v2.0]
- BillPlz [^v2.0]
- Zitopay [^v2.0]
- PayU (upcoming)
- PerfectMoney (upcoming)
- payumoney (upcoming)
- Paytr (upcoming)
- Authorized.net (upcoming)
- 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
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