Это видео недоступно.
Сожалеем об этом.

PayPal Integration In Laravel - Step By Step Guide -

Поделиться
HTML-код
  • Опубликовано: 16 авг 2024
  • #Laravel #Php #PayPal
    Hello all!
    The aim of this video is to give you a demonstration of how you can integrate PayPal gateway with Laravel. You can find step by step guide that how can you integrate PayPal with Laravel.
    00:00 What we are going to create?
    00:39 Creating PayPal account
    02:16 Create PayPal App
    03:04 Adding PayPal credentials in .env
    04:09 Create Model & Migration
    05:27 Migrating migrations
    06:10 Omnipay PayPal Package
    07:15 make PaymentController & write logic
    11:57 make routes in web.php
    12:25 Adding Pay Form
    13:24 Resloving Errors
    14:35 Pay with PayPal
    15:58 Last part
    blog post:
    dev.to/suleman...
    Feel free to mention your problem in the comment box of this video.
    Thanks!

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

  • @user-rw8er2ev9j
    @user-rw8er2ev9j 6 месяцев назад +2

    just wow its working thank you so much , much respect

  • @yamachben6293
    @yamachben6293 4 месяца назад +2

    Very Smooth bro 👍👍👍

  • @fromazerbaijan6482
    @fromazerbaijan6482 2 года назад +2

    I just need this explanation, very good man.

  • @akhilvijay8670
    @akhilvijay8670 11 месяцев назад +2

    Hello, great tutorial! Appreciated for the effort..

  • @unknownname6671
    @unknownname6671 3 месяца назад

    Great explanation sir. recommended 🥰😍

  • @matteobatticani435
    @matteobatticani435 Год назад +3

    Great work. Thank you, you have been very helpful to me

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

      Glad to hear ❤️

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

      Hiiii ,
      I got error
      Call to a member function purchase() on null
      Anyone help me for PayPal payment gateway integration
      ?????

  • @Allen-yc8jc
    @Allen-yc8jc 2 года назад +2

    Very good man, I could not find the package now I found

  • @Arslangrewal
    @Arslangrewal Год назад +1

    Class '\Omnipay\Paypal\RestGateway' not found
    Hi the above mentioned error couldn't be resolved ...please guide me. or send me any link for solution.

  • @user-ix2zz7ci6i
    @user-ix2zz7ci6i 2 месяца назад

    Thank you. It was really usefull.

  • @mrjohn6960
    @mrjohn6960 Год назад +1

    Very Help ful brother

  • @vasyabondar4333
    @vasyabondar4333 Год назад +2

    Great man, you really help me

  • @oppurtunity73
    @oppurtunity73 3 месяца назад +2

    thanks you so much man

  • @priyaverma4297
    @priyaverma4297 Год назад +1

    Hiii guys
    Anyone help me
    M facing some errors regarding of payment
    ???????

  • @KirtiDixit-lj4ve
    @KirtiDixit-lj4ve 5 месяцев назад +2

    Thank you so much

  • @varun8693
    @varun8693 2 года назад +2

    Great man, you really help me out ✅

  • @azlinrazali2664
    @azlinrazali2664 Месяц назад

    I just created PayPal developer, but there's no default sandbox test account for Business and Personal. Then, I also cannot create new account for Personal. Anyone know how to solve it?

  • @skia515
    @skia515 11 месяцев назад +2

    thanks a lot

  • @iamjosh2084
    @iamjosh2084 2 года назад +2

    Great Work!

  • @henryh.1979
    @henryh.1979 Год назад +1

    very thanks man, love you ❤

  • @hazinaprosper443
    @hazinaprosper443 Год назад +3

    Thank you for your good work.

    • @takneekicode
      @takneekicode  Год назад +1

      I am glad I can help.

    • @hazinaprosper443
      @hazinaprosper443 Год назад +1

      @@takneekicode what about integrating visa card and mastercard?. please do it.

    • @takneekicode
      @takneekicode  Год назад +1

      Well you can use the same omnipay package for this. I suggest you to read docs of omnipay. 👍🏻

    • @hazinaprosper443
      @hazinaprosper443 Год назад +1

      @@takneekicode i will

  • @roshannafiz8698
    @roshannafiz8698 Год назад +1

    How can I Insert dynamic value Like: user_name, user_email ETC ??

  • @pandyjee1752
    @pandyjee1752 Год назад +1

    Well done sir

  • @George-zh3ws
    @George-zh3ws 2 года назад +2

    Very helpful but what about live server???

  • @vishwasitprofessional
    @vishwasitprofessional Год назад +1

    Ipn or webhooks are missing, anyways good one.

  • @humormems87
    @humormems87 2 дня назад

    how can i create subscriptions

  • @DeepakVerma-rw5lu
    @DeepakVerma-rw5lu Год назад

    i am facing same issue while using this code. "Authentication failed due to invalid authentication credentials or a missing Authorization header.". Can you please help me in this. I searched this alot but cant find any solution.

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

      Hello Deepak, have you found the solution? if yes, please can you share with me?? Thanks in Advance

  • @Useful-content
    @Useful-content Год назад +1

    Sir, how to view our balance in PayPal?

  • @roshannafiz8698
    @roshannafiz8698 Год назад +1

    Cool

  • @souravdutt7
    @souravdutt7 2 года назад +1

    Very useful! Thanks for sharing.

  • @bishalshrestha707
    @bishalshrestha707 Год назад +1

    Where does the payment_id and payer_id come from in success function of PaymentController ?

  • @asmatkhan6170
    @asmatkhan6170 2 года назад +2

    Good

  • @nuruzzanamhimel5911
    @nuruzzanamhimel5911 Год назад +1

    thx u sir

  • @arunkumark1596
    @arunkumark1596 2 года назад +2

    How can i add debit / credit card form

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

      It will add automatically with Paypal

  • @danhnhan1169
    @danhnhan1169 2 месяца назад

    Is there any problem when I use Omnipay for live app?

  • @mahiuddinnoyon6040
    @mahiuddinnoyon6040 2 года назад +2

    Thanks bro.

  • @gadgetgemsonline
    @gadgetgemsonline Год назад +1

    Do you freelance for larave works?

  • @raulhernandez7528
    @raulhernandez7528 Год назад +1

    hi can i ask i get errors with omnipay in the controller
    can u give me any ideas?

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

    Salaam, in my payments table i added column "student_id". how can i receive my student id? because i got an error student_id can not be null

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

      That error means you are data is going null in student_id field either make it nullable or try to add data on every request

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

      @@takneekicode okay, i'll share my code with you

  • @ssjc02
    @ssjc02 2 года назад +1

    Great! Now, how can we send custom fields i.e orderId or userID?

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

      Hey John, sorry for late reply. If you want to save your orderId and userId to the database then just add two columns in your migration and then migrate and then just save it with the help of a controller.

  • @user-yt6wc
    @user-yt6wc Год назад +1

    thanks bro. Btw in which account payment will be recieved?

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

      In this video I used sandbox account for testing so the would be received in a sandbox account.
      But when you make your application live then you should not use sandbox account.

  • @ihsanboediono
    @ihsanboediono 2 года назад +1

    how i can check status of the payment sir ??

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

      You can save the data into the transactions table and a column payment_status.

  • @rbsvan1273
    @rbsvan1273 2 года назад +1

    Thank you

  • @lastride8891
    @lastride8891 2 года назад +1

    Great, you have explain every step. Save my ass

  • @khamisbadru9342
    @khamisbadru9342 Год назад +1

    Hey man, can you please make a video on how to integrate PesaPal in laravel, thank you

    • @takneekicode
      @takneekicode  Год назад +1

      Hello sir! I didn't work on PesaPal but I will try

  • @khurramyaseen8041
    @khurramyaseen8041 2 года назад +1

    how to run command line to install omnipay

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

      Hey Khurram, you just need to open your terminal in your code editor and then run the same command that I have run in the video to the install omnipay package

    • @khurramyaseen8041
      @khurramyaseen8041 2 года назад +1

      @@takneekicode I am applying this on my share hosting server, I have tried your given command on route file but failed.

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

      If your project works fine in your local then the same project should work on a live server but If you are facing continuous errors then let me know in the email by sending screenshots or something with I can understand your problem.

  • @CodingEscort
    @CodingEscort Год назад +1

    please make video on laravel weather app

  • @englishman5342
    @englishman5342 2 года назад +1

    That's what I want 👍🏻

  • @arqamali1042
    @arqamali1042 5 месяцев назад +1

    very helpful

  • @ricardoromeroarana3145
    @ricardoromeroarana3145 Год назад +3

    bro i got an error in setClientId(...), setSecret and setTesMode, it says undefined method any idea?

    • @takneekicode
      @takneekicode  Год назад +1

      Hello Ricardo! Did you add all the functions to the controller? Or follow all the steps?

    • @ricardoromeroarana3145
      @ricardoromeroarana3145 Год назад +1

      @@takneekicode I added all the functions exactly like you, I watched the video 5 times 😅😅
      I also have an error in "$response->redirect" with the same message: undefined method redirect, its a bit strange

  • @mahmoodali7522
    @mahmoodali7522 2 года назад +1

    weldone

  • @asimadnan1316
    @asimadnan1316 2 года назад +2

    can you please provide controller file!!😐

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

      I will share

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

      @@takneekicode i have a problem. The success function is not working . 404 | Not Found error occured.

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

      @@takneekicode where is the link where you shared that file?

    • @asimadnan1316
      @asimadnan1316 2 года назад +1

      @@takneekicode share your controller code or file. It may be helpful for me.

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

      chill asim

  • @usmanbabar8217
    @usmanbabar8217 Год назад +1

    when i put live keys it throws an error authentication failed

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

      Check your credentials or permissions. There should be something missing or wrong.

  • @maapidongmo4797
    @maapidongmo4797 Год назад +1

    thank Takneeki code

  • @amjidpathan215
    @amjidpathan215 2 года назад +1

    Good

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

    i am facing same issue while using this code. "Authentication failed due to invalid authentication credentials or a missing Authorization header.". Can you please help me in this. I searched this alot but cant find any solution. Thanks

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

      Have you resolved this issue? I am also getting this error..

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

      Hello Zain, Have you resolve this issue? Because im also facing this for the past few days now.

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

      @@cjbrazil4301 Hello Cj, Have you resolve this issue? Because im also facing this for the past few days now.

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

      @@jamesadeyemo2516 yes i've solved this issue

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

      @@ZainHassan512 Please can you give me a guide? help me with the solution, i have been on it since 4days. I will so much appreciate it Zain