1602832125
Laravel 8 razorpay payment gateway integration example. In this tutorial, you will learn how to integrate a razorpay payment gateway in laravel 8 app.
In this laravel 8 razorpay payment gateway example tutorial, will use the javascript lib of the razorpay payment gateway for payment deduction.
And as well as, will implement a simple script code for payment deduction and payment success.
Before start tutorial, you need to create razorpay account and get secret app key from razorpay app. So, you can visit this link and create razorpay app.
In this step, download or install the latest laravel 8 app by using the following command, so open terminal and execute the following command:
composer create-project --prefer-dist laravel/laravel RazorpayDemo
In this step, visit laravel 8 app root directory and open .env file. Then add the database details:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=here your database name here
DB_USERNAME=here database username here
DB_PASSWORD=here database password here
In this step, create table name Payment and it’s migration file. use the below command.
php artisan make:model Payment -m
It command will create one model name Payment and also create one migration file for the Payment table. After successfully run the command go to database/migrations/Payments.php file and replace function, below here :
public function up()
{
Schema::create('payments', function (Blueprint $table) {
$table->increments('id');
$table->string('r_payment_id');
$table->string('product_id');
$table->string('user_id');
$table->string('amount');
$table->timestamps();
});
}
Next, migrate the table using the below command. It will create two new tables in the database.
php artisan migrate
In this step, create three routes and add on this routes in web.php file. So, visit /routes/web.php file and add the following routes in web.php:
use App\Http\Controllers\RazorpayController;
Route::get('product', [RazorpayController::class, 'index']);
Route::get('paysuccess', [RazorpayController::class, 'razorPaySuccess']);
Route::get('razor-thank-you', [RazorpayController::class, 'RazorThankYou']);
#laravel #javascript #php #web-development #developer
1626673140
In this post i will share you stripe payment gateway integration example in laravel 8, stripe payment gateway is integrated in many website for payment collection from client, In this time many e-commerce website and other shopping websites are use stripe payment gateway.
So, here we will learn stripe payment gateway integration in laravel 8.
#stripe payment gateway integration example in laravel 8 #laravel 8 stripe payment gateway integration example #stripe payment gateway integration in laravel 8 #stripe payment gateway #laravel8 #payment gateway
1602564925
In this article, you will learn Razorpay Payment Gateway Integration in ASP.NET MVC web application or an eCommerce website using C#. With Razorpay, you have access to all payment modes, including credit and debit cards, UPI, and popular mobile wallets.
To check the Razorpay Payment Gateway demo, please click here:
The Razorpay Payment Gateway enables you to accept payments via debit card, credit card, net banking (supports 3D Secure), UPI, or through any of our supported wallets. Refer to the Payment Methods section for a list of payment methods we support.
Find the below steps to integrate Razorpay in your website:-
#asp.net #how to #mvc #razorpay payment gateway #razorpay payment gateway demo #razorpay payment gateway documentation #razorpay payment gateway integration #razorpay payment gateway integration in asp.net c#
1596410232
As we know that paytm is fastest growing plateform to provies payment services. So here i will let you know how to integrate paytm payment gateway in laravel with an example.
Paytm provides digital payment methods and boomed after digital india movement. Most of the marchant accepts paytm payment.
Here, in this example we will use a laravel package (“anandsiddharth/laravel-paytm-wallet”) to integrate paytm payment gateway in our laravel application.
So let’s start paytm integration process in our laravel application from scratch. You will need to just follow the steps as mentioned in this tutorial.
In this first step, we will create a fresh laravel application using the following command. If you don’t want to install new application you can also integrate into your existing application. You can jump directly to the next step otherwise just open your terminal and run the command as given below.
composer create-project --prefer-dist laravel/laravel test-app
For installing the desired package, you will just need to run the following composer command in your terminal. It will automatically dowload all the files required for this package in your application.
composer require anandsiddharth/laravel-paytm-wallet
After running the above command, you will need to setup some configurations for this package. So open config/app.php file and add provider and alias as given as under.
config/app.php
'providers' => [
....
Anand\LaravelPaytmWallet\PaytmWalletServiceProvider::class,
],
'aliases' => [
....
'PaytmWallet' => Anand\LaravelPaytmWallet\Facades\PaytmWallet::class,
],
Now we will need to add some other configuration like marchant id and key. So open config/services.php file and add the line of code as mentaioned below.
config/services.php
<?php
return [
......
'paytm-wallet' => [
'env' => 'local', // values : (local | production)
'merchant_id' => env('YOUR_MERCHANT_ID'),
'merchant_key' => env('YOUR_MERCHANT_KEY'),
'merchant_website' => env('YOUR_WEBSITE'),
'channel' => env('YOUR_CHANNEL'),
'industry_type' => env('YOUR_INDUSTRY_TYPE'),
],
];
Now add these secret key date in the application’s environment file like below.
YOUR_MERCHANT_ID=DIY12XXXXXXXXXXXXXXXX
YOUR_MERCHANT_KEY=bKXXXXXXXXXXX
YOUR_WEBSITE=XXXXXXXXX
YOUR_CHANNEL=WEB
YOUR_INDUSTRY_TYPE=Retail
#laravel #integrate paytm in laravel #integration paytm gateway laravel example #laravel paytm integration #paytm gateway in laravel #paytm payment gateway
1617089618
Hello everyone! I just updated this tutorial for Laravel 8. In this tutorial, we’ll go through the basics of the Laravel framework by building a simple blogging system. Note that this tutorial is only for beginners who are interested in web development but don’t know where to start. Check it out if you are interested: Laravel Tutorial For Beginners
Laravel is a very powerful framework that follows the MVC structure. It is designed for web developers who need a simple, elegant yet powerful toolkit to build a fully-featured website.
#laravel 8 tutorial #laravel 8 tutorial crud #laravel 8 tutorial point #laravel 8 auth tutorial #laravel 8 project example #laravel 8 tutorial for beginners
1599536794
In this post, i will show you what’s new in laravel 8 version.
https://www.tutsmake.com/laravel-8-new-features-release-notes/
#laravel 8 features #laravel 8 release date #laravel 8 tutorial #news - laravel 8 new features #what's new in laravel 8 #laravel 8 release notes