Download the PHP package mykholy/paymentgateway without Composer

On this page you can find all versions of the php package mykholy/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 10x,9x

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. it's recommended to everyone to use the 4x version and upgrade laravel version to 10x

use Version 4.1.0 for laravel 10x, use Version 3.x for laravel 9x

Supported Payment Gateway List

  1. Paytm
  2. PayPal
  3. Stripe
  4. Midtrans
  5. Razorpay
  6. Mollie
  7. FlutterwaveRave
  8. Paystack
  9. Payfast
  10. Cashfree
  11. Instamojo
  12. Mercado pago
  13. Squareup
  14. Cinetpay
  15. PayTabs
  16. BillPlz
  17. Zitopay
  18. Toyyibpay
  19. Pagali
  20. Autorize.Net
  21. SitesWay
  22. TransactionCloud
  23. WiPay
  24. KineticPay
  25. Senangpay
  26. SaltPay
  27. Iyzipay
  28. Paymob
  29. PowertranzPay
  30. Awdpay
  31. YooMoney
  32. CoinPayments
  33. Sslcommerz

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

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

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

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

2.0 Setup For Razorpay

Checkout Razorpay Setup Documentation 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

2.0 Setup For Mollie

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

Mollie ipn route example

``

charge_customer method example

ipn_response method example

FlutterwaveRave

[Checkout Flutterwave Setup Documentation]()

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

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

`` 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

Cashfree ipn route example

``

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]()

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

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

php $mercadopago = XgPaymentGateway::mercadopago(); $mercadopago->setClientId('client_id'); $mercadopago->setClientSecret('client_secret'); $mercadopago->setEnv(true); dd($mercadopago->ipn_response());

apacheconf access_token = 'EAAAEOuLQObrVwJvCvoio3H13b8Ssqz1ighmTBKZvIENW9qxirHGHkqsGcPBC1uN' location_id = 'LE9C12TNM5HAS' ` Mastercard 5105 1051 0510 5100 CVC: 111 Date: any future date

Discover
6011 0000 0000 0004 CVC: 111 Date: any future date

Diners Club 3000 000000 0004
CVC: 111 Date: any future date

JCB 3569 9900 1009 5841 CVC: 111 Date: any future date

Name: Test Email: [email protected] ` Number Scheme CVV 3D enrolled

4000000000000002 Visa 123 Yes 4111111111111111 Visa 123 No 4012001036983332 Visa 530 Yes 5498383801606532 MasterCard 977 Yes 5200000000000007 MasterCard 977 Yes 5200000000000114 MasterCard 977 No ` Number: 5111111111111118 Expiry Month: May Expiry Year: 2025 CVV: 100 Card Name: anything

php $iyzipay = XgPaymentGateway::iyzipay(); $iyzipay->setSecretKey('sandbox-QsgXTUpizlCZzHaypMJwkL8YTMGsYMBM'); $iyzipay->setApiKey('sandbox-wtyih1LNnlN1FtCei29rVjbZRKfqVeUC'); $iyzipay->setEnv(true); $iyzipay->setCurrency('TRY'); $payment_data = $iyzipay->ipn_response();

dd($payment_data); php

paymob supported currency list ['EGP', 'USD', 'EUR', 'GBP'] `php Route::match(['get','post'],'/paymob-ipn', [\App\Http\Controllers\PaymentLogController::class,'paymob_ipn'] )->name('payment.paymob.ipn');

`php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /**

`php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /**

`php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /**

`php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /**

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.1
laravel/framework Version ^10.10
stripe/stripe-php Version ^13.10.0
srmklive/paypal Version ~3.0
midtrans/midtrans-php Version ^2.5
razorpay/razorpay Version 2.*
mollie/laravel-mollie Version ^2.0
unicodeveloper/laravel-paystack Version 1.1.*
mercadopago/dx-php Version ^2.6.2
tzsk/payu Version ^7.0.0
square/square Version 37.1.0.20240604
cinetpay/cinetpay-php Version ^1.9
paytabscom/laravel_paytabs Version dev-master
jomweb/billplz-laravel Version ^v3.3.0
sharifur/payfast Version ^v2.0.1
authorizenet/authorizenet Version ^2.0
php-http/message Version ^1.16
php-http/message-factory Version ^1.1
iyzico/iyzipay-php Version ^2.0
stevebauman/location Version ^7.1
yoomoney/yookassa-sdk-php Version ^3.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 mykholy/paymentgateway contains the following files

Loading the files please wait ....