DEV Community

Creating a Simple Payment System in Node.js and MongoDb Using Paystack: A Step-by-Step Guide πŸ’³πŸ’Έ

Kizito Nwaka on September 12, 2023

Introduction Hey folks! I am Kizito a Software Engineer at Microsofzz(wakes up). In this article I will be guiding you through developin...
Collapse
 
omzi profile image
Omezibe Obioha

Nice write-up bro πŸ‘πŸ½.

Your article popped up on my Google Feed. The cover image (Yuji) piqued my interest πŸ˜„.

Collapse
 
kizito007 profile image
Kizito Nwaka

Thank you so much.
(Myy Brother) πŸ˜‚πŸ˜‚

Collapse
 
omzi profile image
Omezibe Obioha

Haha, nice one πŸ˜„. You're welcome (my brother).

Collapse
 
everbliss7 profile image
Blessing Tayedzerwa

Thank you!!

Collapse
 
starlingroot profile image
Chidera Anichebe

Clear and concise, thanks for cooking! 🀞

Collapse
 
kizito007 profile image
Kizito Nwaka

Thanks bro πŸ™Œ
Still making more recipes 😎

Collapse
 
oliviaoputa_ profile image
Oputa Olivia Amarachi

This article was sleek.

Nice Read

Collapse
 
kizito007 profile image
Kizito Nwaka

Thanks.
That's how we roll 😎

Collapse
 
itzz_okure profile image
Okure U. Edet KingsleyπŸ§‘β€πŸ’»πŸš€

This article was really useful

Collapse
 
kizito007 profile image
Kizito Nwaka

Glad you found it useful πŸ™

Collapse
 
sammychinedu2ky profile image
sammychinedu2ky

Great write up man

Collapse
 
kizito007 profile image
Kizito Nwaka

Thanks bro πŸ’ͺ

Collapse
 
ejioforjs profile image
ejioforJs

Wow,this was really really helpful. Thanks a lot manπŸ™πŸ™

Collapse
 
kizito007 profile image
Kizito Nwaka

Glad it helped... I wish you a Happy December 🍻

Collapse
 
jeremy_wells_ profile image
Jeremy Wells • Edited

I don’t see the point in creating something from scratch when there are already more than secure, reliable, and most importantly, easy-to-integrate payment solutions. For example, Payop’s payop.com/en payment api would be an excellent, optimized solution with a wide range of payment methods, both traditional and alternative. This api supports multiple currencies, allowing businesses to work with customers worldwide.

Collapse
 
caselormey profile image
Caleb Selormey

This is a great piece. In fact, it is the best tutorial I have come across online, on Integrating paystack in nodejs. If I am to rate this piece out of 10, I would give it a 9/10.

What we have been able to do in this tutorial, with respect to cancellation of a subscription, is to await an event (e.g. invoice.payment_failed) that would then trigger our "cancelSubscription" function.

What if I want to cancel by myself, how do i go about it, so that when I do, my apo communicates the cancellation to paystack, so that I don't get billed during the next billing cycle?