# Zap Razorpay Payment Integration


Once folder is unzipped - it contains this readme file and "Zaperp" folder. Copy and paste this folder in your projects "packages" folder. Now your "packages" folder will contain two or more folders i.e. "Webkul" and "Zaperp".

Once done - 

## Installation
Load `Zaperp\Razorpay` package to your autoload `psr-4` on `composer.json`

```json
"psr-4": {
    //....
    "Zaperp\\Razorpay\\":"packages/Zaperp/Razorpay/src"
}
```

and also load the Service Provider into the `providers` array inside `config/app.php`
```php
Zaperp\Razorpay\Providers\RazorpayServiceProvider::class, //Razorpay
```

and then run `composer dump-autoload`

you can publish this package to export the config file.

if something went wrong within installation please do the

```
php artisan config:clear
php artisan clear:cache
php artisan config:cache
```