Laravel PayPal Payment Gateway Integration Tutorial In Laravel

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 11

  • @WebTechKnowledge
    @WebTechKnowledge  2 года назад +7

    The Source Code Here :
    Paypal payment gateway integration in Laravel
    1. Laravel new paypalPayment
    2.composer require srmklive/paypal
    3.php artisan vendor:publish --provider "Srmklive\PayPal\Providers\PayPalServiceProvider"
    4.Go to .env and change something
    5. Create Controller
    6.Create View
    7.create route
    ================= In the .env file write this down : =================
    PAYPAL_MODE=sandbox
    PAYPAL_SANDBOX_CLIENT_ID=
    PAYPAL_SANDBOX_CLIENT_SECRET=
    PAYPAL_LIVE_CLIENT_ID=
    PAYPAL_LIVE_CLIENT_SECRET=
    ============ create a controller PaypalController by writting this command ===============
    php artisan make:controller PaypalController
    ====================== create the view paypal_view.blade.php =====================




    Pay 100$
    @if(\Session::has('error'))
    {{ \Session::get('error') }}
    {{ \Session::forget('error') }}
    @endif

    @if(\Session::has('success'))
    {{ \Session::get('success') }}
    {{ \Session::forget('success') }}
    @endif
    ======================== write down the route in the web.php ===================

  • @alvinellavu9603
    @alvinellavu9603 2 года назад

    thank you, your tuitorials are always good and well explained

  • @cuteandfunnyanimals5479
    @cuteandfunnyanimals5479 Год назад

    Thanks Alot Sir |You ARe GReat....

  • @md.mehedihasan800
    @md.mehedihasan800 2 года назад +1

    Brother, I was waiting for this tutorial. Are you Bangladeshi?

  • @ahmedsa-ber6816
    @ahmedsa-ber6816 Год назад

    Thanks, Friend!

  • @SaXuongLife
    @SaXuongLife 2 года назад

    How can i get app_id for live account?

  • @natnaelberhanu7839
    @natnaelberhanu7839 Год назад

    SetApiCredentials,getAccessToken,createOrder are not defined

  • @mdsalimhasanriad3866
    @mdsalimhasanriad3866 2 года назад

    Please brother make ssl e-commerce

  • @mirajulislam9647
    @mirajulislam9647 2 года назад

    please sourse code