Это видео недоступно.
Сожалеем об этом.
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!
just wow its working thank you so much , much respect
👍🏻
Very Smooth bro 👍👍👍
Thanks for the visit
I just need this explanation, very good man.
Hello, great tutorial! Appreciated for the effort..
Glad it was helpful!
Great explanation sir. recommended 🥰😍
thanks
Great work. Thank you, you have been very helpful to me
Glad to hear ❤️
Hiiii ,
I got error
Call to a member function purchase() on null
Anyone help me for PayPal payment gateway integration
?????
Very good man, I could not find the package now I found
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.
Thank you. It was really usefull.
Very Help ful brother
Great man, you really help me
thanks you so much man
thanks 😊
Hiii guys
Anyone help me
M facing some errors regarding of payment
???????
Thank you so much
👍🏻
Great man, you really help me out ✅
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?
thanks a lot
Happy to help
Great Work!
very thanks man, love you ❤
Thank you for your good work.
I am glad I can help.
@@takneekicode what about integrating visa card and mastercard?. please do it.
Well you can use the same omnipay package for this. I suggest you to read docs of omnipay. 👍🏻
@@takneekicode i will
How can I Insert dynamic value Like: user_name, user_email ETC ??
Well done sir
Very helpful but what about live server???
Ipn or webhooks are missing, anyways good one.
how can i create subscriptions
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.
Hello Deepak, have you found the solution? if yes, please can you share with me?? Thanks in Advance
Sir, how to view our balance in PayPal?
From dashboard
Cool
Very useful! Thanks for sharing.
❤
Where does the payment_id and payer_id come from in success function of PaymentController ?
From payal
Good
thx u sir
Most welcome
How can i add debit / credit card form
It will add automatically with Paypal
Is there any problem when I use Omnipay for live app?
Thanks bro.
I am glad that I am helpful.
Do you freelance for larave works?
Yes, I do
hi can i ask i get errors with omnipay in the controller
can u give me any ideas?
What errors?
@@takneekicode working now thank u i subscribed to u!
😃😃😃😃
Great and thanks
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
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
@@takneekicode okay, i'll share my code with you
Great! Now, how can we send custom fields i.e orderId or userID?
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.
thanks bro. Btw in which account payment will be recieved?
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.
how i can check status of the payment sir ??
You can save the data into the transactions table and a column payment_status.
Thank you
Glad I can help you
Great, you have explain every step. Save my ass
Hey man, can you please make a video on how to integrate PesaPal in laravel, thank you
Hello sir! I didn't work on PesaPal but I will try
how to run command line to install omnipay
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
@@takneekicode I am applying this on my share hosting server, I have tried your given command on route file but failed.
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.
please make video on laravel weather app
Sure
That's what I want 👍🏻
very helpful
Glad it helped!
bro i got an error in setClientId(...), setSecret and setTesMode, it says undefined method any idea?
Hello Ricardo! Did you add all the functions to the controller? Or follow all the steps?
@@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
weldone
Thanks Mahmood
Can u share contact info?
can you please provide controller file!!😐
I will share
@@takneekicode i have a problem. The success function is not working . 404 | Not Found error occured.
@@takneekicode where is the link where you shared that file?
@@takneekicode share your controller code or file. It may be helpful for me.
chill asim
when i put live keys it throws an error authentication failed
Check your credentials or permissions. There should be something missing or wrong.
thank Takneeki code
👍🏻
Good
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
Have you resolved this issue? I am also getting this error..
Hello Zain, Have you resolve this issue? Because im also facing this for the past few days now.
@@cjbrazil4301 Hello Cj, Have you resolve this issue? Because im also facing this for the past few days now.
@@jamesadeyemo2516 yes i've solved this issue
@@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