Accept Momo and Card Payment in Your Website - (Paystack Integration)

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024
  • In this tutorial, I will guide you through the process of integrating Paystack, a popular payment gateway, into your simple website. Whether you're an aspiring developer or a business owner looking to accept online payments, this step-by-step guide is designed to help you seamlessly integrate Paystack and start accepting payments from your customers.
    ** Resources**
    Starter-code link: github.com/cod...
    Complete source code: github.com/cod...
    PayStack Link: paystack.com/
    PayStack Documentation: paystack.com/d...
    Join my telegram channel
    t.me/codewithsheriga

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

  • @carbellsarfo
    @carbellsarfo 8 หลายเดือนก่อน +3

    Straight to the point.
    Thanks a lot Sheriga.

  • @realti-l3h
    @realti-l3h 3 หลายเดือนก่อน +2

    i've been trying to do this in the backend, got stuck at a point and decided to come here. Then i discovered you, thanks a lot brotherman

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

    God bless you boss. Working on my project work and I’m struggling with these for like two weeks now. I’ve been able to do it after watching this video.

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

      I’m trying to redirect the user to a payment success page using the window.location but it’s not working. I’m wondering what I’m doing wrong.

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

      I’m trying to redirect the user to a payment success page using the window.location but it’s not working. I’m wondering what I’m doing wrong.

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

      Hello @harrunaadjetey5352, I'm glad the video helped 🙏❤

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

      @@harrunaadjetey5352 It would help me to know the type of application you are working on. If you could share a link to the github repo, I might be able to help

  • @nelsonndukwe7274
    @nelsonndukwe7274 11 หลายเดือนก่อน +2

    This very beautiful and straightforward thanks😊

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

    You are the best, you help me, kindly make another video on the single transfers and the bulk transfers

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

      ok sure. Glad you liked it

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

      Sure thing, I've been a little tight but I will make time to make the video 😊

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

    Sleek and smooth,
    Easy pezzy to understand

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

    U too good ma guy, God bless u wai

  • @ellamsgeorge6801
    @ellamsgeorge6801 10 หลายเดือนก่อน +1

    Need to ask, how does the owner receive the money? Do you input ur accounts details in the dashboard?

    • @codewithsheriga
      @codewithsheriga  9 หลายเดือนก่อน +1

      Yes, the account owner will have to provide either a bank account details or mobile money details in which to receive payments

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

    Thanks bro.. You are just the best.

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

      Thank you for the positive feedback ❤

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

    Awesome video... integrated this using nodejs, but i'm wondering how to send the user back to the app or maybe the order history page, also if you have any resource for bank transfer I'll appreciate.

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

      Hello @chigoziembama4139, you can use 'window.location' in the callback function to redirect to the desired page. Let me know if this helps

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

      @@codewithsheriga i'm handling just the backend of the application tho... it's more like i want to be able to get the payment status and create a route where the user is able to see both successful and canceled order.

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

    ❤❤❤ this is good content

  • @billydada4
    @billydada4 2 หลายเดือนก่อน

    please bro please make a video on how we can do this with php

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

    Thanks. But what if there's no specific amount to pay? For example to raise support for a project and it's based on donation. How do I get that done

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

      Paystack offers payment plan pages. It's suitable for stuff like donations. check it out here paystack.com/docs/payments/subscriptions/

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

    what about the reference

  • @alhassanmumin1935
    @alhassanmumin1935 8 หลายเดือนก่อน +2

    This is helpful

  • @positivity8078
    @positivity8078 6 หลายเดือนก่อน +1

    After pasting my public test key and testing the first payment, i had this error: We could not start this transaction Please enter a valid Key.
    What could cause it and how do i fix it?

    • @codewithsheriga
      @codewithsheriga  5 หลายเดือนก่อน +1

      please send me a screenshot of the error and the part of your code you pasted the key

  • @sedemdev
    @sedemdev 8 หลายเดือนก่อน +1

    Great work and insightful. I have been struggling for sometime to create a payment gateway. I'm an aspiring developer, what's your email address please? Want to ask you some few question for clarification?

  • @sammygee5110
    @sammygee5110 10 หลายเดือนก่อน +1

    keep up the good work

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

    Thanks for sharing

  • @AnameneJoseph
    @AnameneJoseph 3 หลายเดือนก่อน

    How
    Can I do this with next JS

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

    How do we integrate refund api for paystack?

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

      you make the request to the refund endpoint.
      You can follow the example here in the docs
      paystack.com/docs/api/refund/

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

      @@codewithsheriga I have tried and not working for me. can you do a video about it?

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

      Sure, I will make a video on it soon

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

      Hello @BrianRichi, I've made a simple video that demonstrates how to integrate the refund api for paystack in your application. Please check it out here
      th-cam.com/video/9Jo_NDLfAVc/w-d-xo.html

  • @ghcybertech
    @ghcybertech 2 หลายเดือนก่อน

    I also decided to pass by

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

    Not working bro, i see there's a difference between the paystack you working with and what i have now. Maybe its an issue with paystack?

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

      Sorry to hear that. You can head over to this link to create an account
      paystack.com/

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

    Can i also use this to process in usd

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

      This process works for accepting payment via the web, ussd payment currently works in nigeria only. You can use the endpoint found here to set it up if you are in nigeria 👇
      paystack.com/docs/payments/payment-channels/#ussd

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

    can't find momo only card.any help

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

    please how can I add a ussd for payment, I am building a voting app and it require a ussd

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

      Paystack currently has ussd support for only Nigeria. if you live outside Nigeria you might consider reaching out to your local telcos. You might also try Africa's talking ussd integration. let me know if this helps
      africastalking.com/

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

      @@codewithsheriga I am checking it out

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

      Hello @nathanielkwabenalarbiarthur, I've created a tutorial series on setting up ussd integration for your application, you can check it out here. th-cam.com/video/hha6Y9WpjnE/w-d-xo.html
      let me know if this helps.

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

    can in be done in an android application

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

      Yes it can. I will make a video on how to do that

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

      @@codewithsheriga alright, that will be great

  • @nanapeprahsamuel791
    @nanapeprahsamuel791 5 หลายเดือนก่อน +1

    @codewithsheriga please I can only access debit or visa card payment system but not of MTN MOMO please any help?

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

      please send me a screenshot of the code and the output

  • @Devbello.
    @Devbello. ปีที่แล้ว +1

    How do I integrate with NextJS?

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

      I'm not sure they have an official library for NextJs but they have one of ReactJs. You can check it out here github.com/iamraphson/react-paystack

  • @adamsaleh4621
    @adamsaleh4621 11 หลายเดือนก่อน

    Hi, in a real transaction, how would I put the card authorization ?

    • @pamboabubakar6052
      @pamboabubakar6052 11 หลายเดือนก่อน +1

      You would enter the real card details

  • @hisexcellencyprinceson
    @hisexcellencyprinceson 6 หลายเดือนก่อน +1

    How do I receive money that has been paid to me

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

      it is automatically paid to either your bank account or momo. usually takes about 3 working days

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

    Thank you

  • @footballworld4903
    @footballworld4903 6 วันที่ผ่านมา

    Helped me

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

    ❤wow this great

  • @georgen9755
    @georgen9755 3 หลายเดือนก่อน

    Print
    Momo
    Print

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

    Thanks for this. This is lovely. Thanks for putting this out. Please what's your email address, I have some questions I would like to ask as an aspiring developer.

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

      Hello @duztv5370, I'd be happy to help. Here's my email codewithsheriga@gmail.com.

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

    How can we contact you

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

      @@jamesonah6689 codewithsheriga@gmail.com

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

    Bruh I need your contact