PHPackages                             sroor/laravel-payment - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. sroor/laravel-payment

ActiveLibrary[Payment Processing](/categories/payments)

sroor/laravel-payment
=====================

laravel payemnts getawaies

v1.0.2(2y ago)028MITPHP

Since Jun 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Kamalsroor/sroor-laravel-payment)[ Packagist](https://packagist.org/packages/sroor/laravel-payment)[ RSS](/packages/sroor-laravel-payment/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Paymob Laravel Package
======================

[](#paymob-laravel-package)

This is a laravel package to facilate integartion with paymob apis [Paymob docs](https://docs.paymob.com/docs/accept-standard-redirect).

Installation
------------

[](#installation)

1- You can install the package via composer:

```
composer require sroor/laravel-payment
```

2- Publish config file for editing if needed:

```
php artisan vendor:publish --tag=config --provider="Sroor\Payment\PaymentServiceProvider"
```

Usage
-----

[](#usage)

- Register new merchant account or login if you already have one ([Register](https://accept.paymob.com/portal2/en/register?flash=true)).
- Get Paymob credentials from Paymob Dashboard ([How](https://docs.paymob.com/docs/profile)) and update `.env` file.

```
PAYMENT_PAYMOB_API_KEY             =
PAYMENT_PAYMOB_CARD_INTEGRATION_ID =
PAYMENT_PAYMOB_CARD_IFRAME_ID      =
PAYMENT_PAYMOB_HMAC_SECRET         =

```

- Make payment and get iframe url from paymob

```
