You did an excellent job with this tutorial. Very easy to follow. It was calm, direct and clear. I watched every minute of it. I learnt many things the documentation itself struggled to make clear. Thanks for taking time to create this video. Thumbs up.
Thank you. you actually helped me. so the price you added in the meta. I can as well save the transactionId and the price in the db and then fetch it at verified to compare then do anything I want to do with it right.
Thank you Zubayr Ganiyu Seum for the video. Very helpful. The only problem I have is when verifying the payment, instead of status=cancelled I am getting cancelled=true from the $_GET.
HI Brother I subscribe your for only this video because i really need this i am not from africa and flutterwave is not working here but someone give me a work to done this on his website and i implement this on help of your video thanks again bro.
Brilliant Tutorial 🔥, I would like to know how someone can actually get the OTP sent the their phone or email, because I can't see where to put phone number
I have issues with my code... it says: "Notice: Undefined variable: {"status":"error","errors":[{"field":"tx_ref","message":"Transaction reference is required"},{"field":"redirect_url","message":"Redirect URL is required"}],"message":"One or more required parameters missing"}" I added those fields but it still throws that error. what can I do?
Hello,nice tutorial.Keep up the good work,man.please how can I use this for my own personal purpose instead of redirecting it to a small sized debit card information platform as shown on your screen.
I really wish i understand, but i don't. Let me explain what i want to do. I have this website built on wordpress majorly for paying dues. So i want it to have a different dues payment with different amount. when they click on thepay button for such due, it will redirect to the payment gateway. There's no plugin for the dues payment, woo-commerce is just for products and displays as such. i want it to look like they are paying for school fees (for example)
@@zubayrganiyuseun6387 Please sir or can you walk me through personally on how to do it either in WhatsApp or something, I would live to implement it in my project. Thank you so much for the video and thabk you for replying fast
@@liftedup299 so i think before you call flutterwave API you have to save the user in your db. so you can have a table that contains userId, transId, amount, status and date. so at the point before you call flutterwave you save those details in the db and set the status to pending. so at verify that is when the call back is called and flutterwave verifies that transaction. you will used the transactionid to query that your table to retrieve the row. you can now set the status to succesful, the use the userId of that user and the amount to update the wallet of that user. My little take. Thank you.
Thanks for this tutorial. It helped alot but i have an error. The pay page worked perfectly but tried canceling & making payment, it displayed an error "Cannot GET /v3/hosted/process.php" Can you assist with this
@@zubayrganiyuseun6387 Is there a way I can send you a screenshot? The payment page worked out perfectly and even processed the payment but seems the issue is coming from the process.php, possibly when its meant to redirect back to the homepage but displayed the error instead. I don't know if you understand
Thanks for this tutorial. This is the response I get {"status":"error","message":"ER_CANT_AGGREGATE_2COLLATIONS: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='","data":null}We can not process your payment Please help me look into this
Base in the data you send to the request body. Cross check your data and make sure it valid if not copy the code from.the link I attach in the description.
Thank you for the tutorial. when I tried echoing $response I get a blank page, it's not redirecting me to any end point. and when I var_dump $response I get bool(false)
That mean you are not getting any response from the API. You can share your code on the comment section of the website link I provide I will copy and go through your code.
@@zubayrganiyuseun6387 I think the problem is from the curl_exec... the curl_init() actually initialized properly. but getting to the curl_exec it return bool(false)
@@zubayrganiyuseun6387 I have tried throwing an Exception to check the error using the curl_error. I get the error message 'SSL certificate problem: unable to get local issuer certificate'
@@zubayrganiyuseun6387 Alright sir I figured it out it returns Null only when i change currency to ZMW but when its in Nigerian Its just fine so I had to store other information in a session and i was able to achieve that
I salute you for being an incredible TEACHER!!!!
Glad it helpful
What a wonderful tutorial. Thumbs up man.. You can't imagine how much this helped me and saved me a lot of hard work. Subscribed already😁
You are Welcome!
Thank you so much
This is a very detailed tutorial
Glad it was helpful!
You did an excellent job with this tutorial. Very easy to follow. It was calm, direct and clear. I watched every minute of it. I learnt many things the documentation itself struggled to make clear. Thanks for taking time to create this video. Thumbs up.
Thank and you are highly welcome!
@@zubayrganiyuseun6387 Please i am getting an error
Thank you. you actually helped me. so the price you added in the meta. I can as well save the transactionId and the price in the db and then fetch it at verified to compare then do anything I want to do with it right.
Yes
Thank you very much man..
Can't get any clearer..
thanks man this amazing
Great tutorials buddy. Keep it up
Thank you Zubayr Ganiyu Seum for the video. Very helpful. The only problem I have is when verifying the payment, instead of status=cancelled I am getting cancelled=true from the $_GET.
Hmmm that mean u need to switch code arround
HI Brother I subscribe your for only this video because i really need this i am not from africa and flutterwave is not working here but someone give me a work to done this on his website and i implement this on help of your video thanks again bro.
thank you for this nice tutorial man!
You welcome
Brilliant Tutorial 🔥, I would like to know how someone can actually get the OTP sent the their phone or email, because I can't see where to put phone number
That up to the payment gateway the will connect with Thier user bank for further payment process.
@@zubayrganiyuseun6387 okay, thanks for the reply, your tutorial really helped me alot! 👍🏼
thank you for videos but please make video for MTN MOMO payment in flatter wave
Still the same process just change the payment type to mobile money
@@zubayrganiyuseun6387 okay thanks
Thanks.
I have issues with my code...
it says: "Notice: Undefined variable: {"status":"error","errors":[{"field":"tx_ref","message":"Transaction reference is required"},{"field":"redirect_url","message":"Redirect URL is required"}],"message":"One or more required parameters missing"}"
I added those fields but it still throws that error. what can I do?
Does not look like the field are sending.
Copy the sample code from the web page provided in the video note.
Nice video, please what's the process of using remitter for payment?? Like school fees etc.. is it possible for non government establishment??
Remitta website can answer this there are alot of documents you will need to submit to them.
Hello,nice tutorial.Keep up the good work,man.please how can I use this for my own personal purpose instead of redirecting it to a small sized debit card information platform as shown on your screen.
Could not understand please
I mean when the flutterwave card payment opened,it appeared very small.Dont know whether because it was due to the fact that it was hosted on heroku.
How did you prepare the curl request please explain
You can read more about CURL in the PHP docs
Thanks. well understood, even though I'm new to coding. but What if i don't want user to enter amount. I want to use a fixed amount?
That should be very simple. You grab the amount from.your product price simple.
I really wish i understand, but i don't. Let me explain what i want to do. I have this website built on wordpress majorly for paying dues. So i want it to have a different dues payment with different amount. when they click on thepay button for such due, it will redirect to the payment gateway. There's no plugin for the dues payment, woo-commerce is just for products and displays as such. i want it to look like they are paying for school fees (for example)
Well done!
Thank you
Thanks man
You welcome ☺️
Wre can I get the source code
Ple which key did u use
for the api connection
Secret key
NICE MAN
Sir please can you make an updated video on how to add the amount funded inside a wallet in mysql database?
Lol that should be easy for you buddy.
@@zubayrganiyuseun6387 Please sir or can you walk me through personally on how to do it either in WhatsApp or something, I would live to implement it in my project. Thank you so much for the video and thabk you for replying fast
@@liftedup299 so i think before you call flutterwave API you have to save the user in your db. so you can have a table that contains userId, transId, amount, status and date. so at the point before you call flutterwave you save those details in the db and set the status to pending. so at verify that is when the call back is called and flutterwave verifies that transaction. you will used the transactionid to query that your table to retrieve the row. you can now set the status to succesful, the use the userId of that user and the amount to update the wallet of that user. My little take. Thank you.
Thanks for this tutorial. It helped alot but i have an error. The pay page worked perfectly but tried canceling & making payment, it displayed an error "Cannot GET /v3/hosted/process.php" Can you assist with this
If the error can be more explained.
@@zubayrganiyuseun6387 Is there a way I can send you a screenshot? The payment page worked out perfectly and even processed the payment but seems the issue is coming from the process.php, possibly when its meant to redirect back to the homepage but displayed the error instead. I don't know if you understand
Sir where did you get those flutterwave codes to process the payment Incase if there's a new change.
Can check the flutter wave developer docs
Am trying to make the payment using Zambia mobile money the payment isn't going through but am able to recieved the OTP please assit
I don't how I can test you can send me an email from my website.
zubdev.net
how can I make a transaction without OTP verification
You need to disable OTP in ur account
Thanks for this tutorial.
This is the response I get
{"status":"error","message":"ER_CANT_AGGREGATE_2COLLATIONS: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='","data":null}We can not process your payment
Please help me look into this
Base in the data you send to the request body. Cross check your data and make sure it valid if not copy the code from.the link I attach in the description.
@@zubayrganiyuseun6387 I used your code. Could the error be because I am using a local server(xampp)???
@@marvellousadebayo3247 I use local.server xamp to make the video
Alright... Thanks
I will continue trying
I was later able to rectify the problem. The problem was because I was using a wrong key.
Thanks a lot; Keep up the good work
it doesnt work when i change my api public key to the live one
Secret key not public key
Anyone know how to integrate flutterwave mpesa ? I am looking for someone who can help me do it. Thanks .
Just enable mpesa if supported by flutterwave
Thank you for the tutorial. when I tried echoing $response I get a blank page, it's not redirecting me to any end point. and when I var_dump $response I get bool(false)
That mean you are not getting any response from the API.
You can share your code on the comment section of the website link I provide I will copy and go through your code.
I'm trying to implement this in laravel
@@Olumasei okay okay that process do still work cos I use same process in my Codeigniter 4 projrct which also uses namespace like laravel
@@zubayrganiyuseun6387 I think the problem is from the curl_exec... the curl_init() actually initialized properly. but getting to the curl_exec it return bool(false)
@@zubayrganiyuseun6387 I have tried throwing an Exception to check the error using the curl_error. I get the error message 'SSL certificate problem: unable to get local issuer certificate'
Please where is the source as you promised?
Right here
www.codewigs.com/blog/how-to-integrate-flutterwave-v3-payment-gateway-in-php-2020-12-29
@@zubayrganiyuseun6387 i got the message: Cannot GET /v3/hosted/payprocess.php, what could be the problem... i followed all your process
@@paulnaija You change things in the CURL codes?
Can please share the source code
Source is there in comments section
How can I automate the payment from website to it user
I.e user will insert their payment details and will be credited using php
Hey bro meta returns Null please help
Example code of how u try to access it
when i echo json response am getting "meta":Null
@@andresiwakwi3058 meta not properly passed. Meta should also be an array
@@zubayrganiyuseun6387 Alright sir I figured it out it returns Null only when i change currency to ZMW but when its in Nigerian Its just fine so I had to store other information in a session and i was able to achieve that
@@zubayrganiyuseun6387 and One more thing Sir After a successfull payment when i return to my index.php my Ajax gets broken