How to integrate flutterwave v3 payment gateway in PHP

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 108

  • @dovinsmart373
    @dovinsmart373 2 ปีที่แล้ว

    I salute you for being an incredible TEACHER!!!!

  • @techample
    @techample 3 ปีที่แล้ว +3

    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😁

  • @OlamideSodeinde
    @OlamideSodeinde 8 หลายเดือนก่อน

    Thank you so much
    This is a very detailed tutorial

  • @xutini
    @xutini 3 ปีที่แล้ว

    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.

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว +1

      Thank and you are highly welcome!

    • @paulnaija
      @paulnaija 3 ปีที่แล้ว

      @@zubayrganiyuseun6387 Please i am getting an error

  • @richeskelechi3108
    @richeskelechi3108 8 หลายเดือนก่อน

    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.

  • @sparkycee3659
    @sparkycee3659 3 ปีที่แล้ว

    Thank you very much man..
    Can't get any clearer..

  • @blinksdiamond3264
    @blinksdiamond3264 5 หลายเดือนก่อน

    thanks man this amazing

  • @MultiMaN95
    @MultiMaN95 3 ปีที่แล้ว

    Great tutorials buddy. Keep it up

  • @abubakariliyasu7215
    @abubakariliyasu7215 2 ปีที่แล้ว

    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.

  • @blueterminal
    @blueterminal 2 ปีที่แล้ว

    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.

  • @andresiwakwi3058
    @andresiwakwi3058 3 ปีที่แล้ว

    thank you for this nice tutorial man!

  • @bamideleadedamola4309
    @bamideleadedamola4309 2 ปีที่แล้ว

    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

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  2 ปีที่แล้ว +1

      That up to the payment gateway the will connect with Thier user bank for further payment process.

    • @bamideleadedamola4309
      @bamideleadedamola4309 2 ปีที่แล้ว +1

      @@zubayrganiyuseun6387 okay, thanks for the reply, your tutorial really helped me alot! 👍🏼

  • @Realhustler07
    @Realhustler07 3 ปีที่แล้ว

    thank you for videos but please make video for MTN MOMO payment in flatter wave

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว

      Still the same process just change the payment type to mobile money

    • @Realhustler07
      @Realhustler07 3 ปีที่แล้ว

      @@zubayrganiyuseun6387 okay thanks

  • @claptonerick4376
    @claptonerick4376 2 ปีที่แล้ว

    Thanks.

  • @micah-danielsdaniel5826
    @micah-danielsdaniel5826 3 ปีที่แล้ว +1

    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?

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว

      Does not look like the field are sending.
      Copy the sample code from the web page provided in the video note.

  • @kdesglobal
    @kdesglobal 3 ปีที่แล้ว

    Nice video, please what's the process of using remitter for payment?? Like school fees etc.. is it possible for non government establishment??

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว

      Remitta website can answer this there are alot of documents you will need to submit to them.

  • @victorbenedict8743
    @victorbenedict8743 3 ปีที่แล้ว

    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.

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว

      Could not understand please

    • @victorbenedict8743
      @victorbenedict8743 3 ปีที่แล้ว

      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.

  • @lucapagura9873
    @lucapagura9873 3 ปีที่แล้ว +1

    How did you prepare the curl request please explain

  • @designwithshegun
    @designwithshegun 3 ปีที่แล้ว

    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?

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว +1

      That should be very simple. You grab the amount from.your product price simple.

    • @designwithshegun
      @designwithshegun 3 ปีที่แล้ว

      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)

  • @fijabiridwan2660
    @fijabiridwan2660 3 ปีที่แล้ว

    Well done!

  • @ahmadmustapha3178
    @ahmadmustapha3178 3 ปีที่แล้ว

    Thanks man

  • @akimshittu6508
    @akimshittu6508 ปีที่แล้ว

    Wre can I get the source code

  •  4 หลายเดือนก่อน

    Ple which key did u use
    for the api connection

  • @AyelaEmmanuelT
    @AyelaEmmanuelT 3 ปีที่แล้ว

    NICE MAN

  • @liftedup299
    @liftedup299 2 ปีที่แล้ว

    Sir please can you make an updated video on how to add the amount funded inside a wallet in mysql database?

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  2 ปีที่แล้ว

      Lol that should be easy for you buddy.

    • @liftedup299
      @liftedup299 2 ปีที่แล้ว

      @@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

    • @richeskelechi3108
      @richeskelechi3108 8 หลายเดือนก่อน

      @@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.

  • @user-kt8rq2ik2g
    @user-kt8rq2ik2g หลายเดือนก่อน

    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
      @zubayrganiyuseun6387  หลายเดือนก่อน +1

      If the error can be more explained.

    • @user-kt8rq2ik2g
      @user-kt8rq2ik2g หลายเดือนก่อน

      @@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

  • @augustine_chi5310
    @augustine_chi5310 ปีที่แล้ว

    Sir where did you get those flutterwave codes to process the payment Incase if there's a new change.

  • @kaelachipampa2396
    @kaelachipampa2396 2 ปีที่แล้ว

    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

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  2 ปีที่แล้ว

      I don't how I can test you can send me an email from my website.
      zubdev.net

  • @jamalumarwalugembe3862
    @jamalumarwalugembe3862 9 หลายเดือนก่อน

    how can I make a transaction without OTP verification

  • @marvellousadebayo3247
    @marvellousadebayo3247 3 ปีที่แล้ว

    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

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว

      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.

    • @marvellousadebayo3247
      @marvellousadebayo3247 3 ปีที่แล้ว

      @@zubayrganiyuseun6387 I used your code. Could the error be because I am using a local server(xampp)???

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว

      @@marvellousadebayo3247 I use local.server xamp to make the video

    • @marvellousadebayo3247
      @marvellousadebayo3247 3 ปีที่แล้ว

      Alright... Thanks
      I will continue trying

    • @marvellousadebayo3247
      @marvellousadebayo3247 3 ปีที่แล้ว

      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

  • @iamphantasm0
    @iamphantasm0 3 ปีที่แล้ว

    it doesnt work when i change my api public key to the live one

  • @kavelekagunyi3842
    @kavelekagunyi3842 3 ปีที่แล้ว

    Anyone know how to integrate flutterwave mpesa ? I am looking for someone who can help me do it. Thanks .

  • @Olumasei
    @Olumasei 3 ปีที่แล้ว

    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)

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว

      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.

    • @Olumasei
      @Olumasei 3 ปีที่แล้ว

      I'm trying to implement this in laravel

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว

      @@Olumasei okay okay that process do still work cos I use same process in my Codeigniter 4 projrct which also uses namespace like laravel

    • @Olumasei
      @Olumasei 3 ปีที่แล้ว

      @@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)

    • @Olumasei
      @Olumasei 3 ปีที่แล้ว

      @@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'

  • @paulnaija
    @paulnaija 3 ปีที่แล้ว

    Please where is the source as you promised?

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว

      Right here
      www.codewigs.com/blog/how-to-integrate-flutterwave-v3-payment-gateway-in-php-2020-12-29

    • @paulnaija
      @paulnaija 3 ปีที่แล้ว

      @@zubayrganiyuseun6387 i got the message: Cannot GET /v3/hosted/payprocess.php, what could be the problem... i followed all your process

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว

      @@paulnaija You change things in the CURL codes?

  • @EmekaDaniel-tx5ls
    @EmekaDaniel-tx5ls 6 หลายเดือนก่อน

    Can please share the source code

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  6 หลายเดือนก่อน

      Source is there in comments section

    • @EmekaDaniel-tx5ls
      @EmekaDaniel-tx5ls 5 หลายเดือนก่อน

      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

  • @ajandresiwakwi9882
    @ajandresiwakwi9882 3 ปีที่แล้ว

    Hey bro meta returns Null please help

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว

      Example code of how u try to access it

    • @andresiwakwi3058
      @andresiwakwi3058 3 ปีที่แล้ว

      when i echo json response am getting "meta":Null

    • @zubayrganiyuseun6387
      @zubayrganiyuseun6387  3 ปีที่แล้ว

      @@andresiwakwi3058 meta not properly passed. Meta should also be an array

    • @andresiwakwi3058
      @andresiwakwi3058 3 ปีที่แล้ว

      @@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

    • @andresiwakwi3058
      @andresiwakwi3058 3 ปีที่แล้ว

      @@zubayrganiyuseun6387 and One more thing Sir After a successfull payment when i return to my index.php my Ajax gets broken