Introduction to Payment Systems | System Design

  Рет қаралды 40,350

Code with Irtiza

Code with Irtiza

Күн бұрын

Let’s look into designing payment systems for your application and integrating with Payment Service Providers like PayPal & Stripe.
System Design Playlist: • System Design Beginner...
Notes: pdfhost.io/v/8o8kQidNM_System...
🥹 If you found this helpful, follow me online here:
✍️ Blog / irtizahafiz
👨‍💻 Website irtizahafiz.com
📲 Instagram / irtiza.hafiz
00:00 Intro
00:41 PayPal & Stripe
01:05 What we won’t talk about
02:00 What we WILL talk about
03:40 What’s a Payment Service?
05:15 Payment System Design 1
09:55 Payment System Design 2
17:55 Database Design
23:00 What kind of Database to use?
26:50 Microservice Communications
32:50 Double Spend Problem
39:55 Future System Design Videos
#programming #systemDesign #softwareDevelopment

Пікірлер: 48
@awesomesheen
@awesomesheen Жыл бұрын
This is one the best videos on payment systems and it definitely deserves more views; simple and straightforward!
@irtizahafiz
@irtizahafiz 7 ай бұрын
Glad you found it helpful!
@RICKLEEISTHEBOSS
@RICKLEEISTHEBOSS Жыл бұрын
Found this channel today and it made system design EASYYY!! Thanks!
@deepjyotkaurbindra
@deepjyotkaurbindra Жыл бұрын
This was beautifully explained, thanks!
@macguionbajo
@macguionbajo Жыл бұрын
This was exactly what I needed, THANK YOU Irtiza
@irtizahafiz
@irtizahafiz 7 ай бұрын
Glad you found it valuable.
@Mohamed-uf5jh
@Mohamed-uf5jh Жыл бұрын
beautifully explained, thanks!
@Misschoccywoccy
@Misschoccywoccy Жыл бұрын
This was super helpful and explained in such a high level way.. thank you!
@irtizahafiz
@irtizahafiz Жыл бұрын
You're so welcome!
@ntt5171
@ntt5171 Жыл бұрын
Another way to store currency numbers instead of strings is to use integer numbers that represent cents as opposed to whole units + decimals. Example: $14.99 can be stored as "14.99" or as 1499 (usd cents)
@egor.cleric
@egor.cleric 7 ай бұрын
strange that the author is not aware of such standard approach
@irtizahafiz
@irtizahafiz 7 ай бұрын
Yes! That’s a great point! I have done that a few times.
@HarmonyLife21
@HarmonyLife21 2 жыл бұрын
I like the visualization. Keep up the good work!
@irtizahafiz
@irtizahafiz 2 жыл бұрын
Thanks for the feedback! Hope you are finding these helpful : )
@ersinerdem7285
@ersinerdem7285 Жыл бұрын
very good high level view of the system, thank you!
@irtizahafiz
@irtizahafiz 7 ай бұрын
Glad you found it helpful! Cheers.
@jinboli636
@jinboli636 Жыл бұрын
Awesome! I think this is the best video that explains payment system. I subscribe your channel immediately, keep going bro🎉🎉🎉
@irtizahafiz
@irtizahafiz Жыл бұрын
Thank you so much! It means a ton. I am going to start uploading more regularly soon : )
@zymasethecatalyst
@zymasethecatalyst 2 жыл бұрын
This is what I wanted Keep going sir🚀🚀
@irtizahafiz
@irtizahafiz 2 жыл бұрын
So glad! Hope you found it helpful : )
@salisu5814
@salisu5814 Жыл бұрын
Thanks you for the wonderful lecture
@irtizahafiz
@irtizahafiz Жыл бұрын
You're most welcome
@arupde6320
@arupde6320 Жыл бұрын
keep uploading videos like this . good one
@irtizahafiz
@irtizahafiz Жыл бұрын
I will try my best
@DuyTran-ss4lu
@DuyTran-ss4lu 2 жыл бұрын
Awesome
@irtizahafiz
@irtizahafiz 2 жыл бұрын
Thank you!
@RaphaelSousa-or1dl
@RaphaelSousa-or1dl Ай бұрын
Hey great video. I have a question about microservice approach: If we make the processing asynchronous with a service receiving the requests and others services as processors (the ones that communicat with the gateways). 1 - How would we communicate to the user? Since he's expecting the purchase redirect page to finish? 2 - How would we store the data? Since each microservice should have its own db?
@user-nj7of5yi4b
@user-nj7of5yi4b 5 ай бұрын
thanks
@charliebitme-zb3nv
@charliebitme-zb3nv 8 ай бұрын
no idea why purchase goes back to backend system it needs to automatically land in external service pop up page with the token that has been generated in a previous step. Once the PSP does its part it does send it back to the application via webhook that you created at those PSP services beforehand and backend system needs to act on that point.
@divyaverma1098
@divyaverma1098 Жыл бұрын
In what step do you send the card details? Is it directly to the gateway or will it come to the backend service and then backend service would take care of calling the gateway with the necessary details. I suppose while creating checkout_id you would store the checkout info like the bill amount etc
@irtizahafiz
@irtizahafiz Жыл бұрын
It would be the latter.
@hello_world_zz
@hello_world_zz 9 ай бұрын
hi thanks for explanation. question - what is difference between "checkout" and "buy now"?
@irtizahafiz
@irtizahafiz 8 ай бұрын
Checkout usually takes you to the final page where you can complete the purchase with one final click (something like "Buy Now").
@ErhanPatir
@ErhanPatir 4 ай бұрын
Is "connecting to external system from internal" a correct design ? or do we need to add something between Backend Payment System and PayPal for security ?
@salisu5814
@salisu5814 Жыл бұрын
Can you help identify those microservices or multiple systems within the backend payment system?
@irtizahafiz
@irtizahafiz Жыл бұрын
Hi! Not sure how to do that. If you want details, please send me an email with some more context.
@lucianomonterovidela
@lucianomonterovidela Жыл бұрын
In case we use an asynchronous communication, that we respond to the user? That the payment was correct? What happens if after processing the payment, we realize that it was not successful?
@irtizahafiz
@irtizahafiz 7 ай бұрын
If you look at most e-commerce flows, you usually get a confirmation email immediately, and then another when the item actually ships. So, you can always change the order status and email the user if things change post-confirmation.
@vijaybabaria3253
@vijaybabaria3253 Жыл бұрын
I am not able to open your notes, are the links for notes updated? thanks
@irtizahafiz
@irtizahafiz Жыл бұрын
They should be updated..
@priyakolluru356
@priyakolluru356 3 ай бұрын
so, during checkout and before filling any creditcard and debit card info or addresses, checkout_id is generated?
@irtizahafiz
@irtizahafiz 2 ай бұрын
In this design, yes. But there are many different ways of implementing it.
@RABIAKHAN13
@RABIAKHAN13 Жыл бұрын
Do paypals also work in pakistan?
@user-ny8qv9ze4d
@user-ny8qv9ze4d 11 ай бұрын
I think there is something wrong in your design about when a user click purchase. I think the first step should be send a request to Paypal/stripe, not the Backend Payment system, because that Purchase page belongs to Paypal/stripe. After the purchase is finished, Paypal/stripe will send a request to tell Backend service that the purchase was finished.
@irtizahafiz
@irtizahafiz 7 ай бұрын
That's correct. The point of reaching out to your backend first is, there might still be data you want to store relevant to the user's intent, before initiating request with Paypal/Stripe.
@thoko_tn
@thoko_tn Жыл бұрын
What are yr Socials??wanna link upp
@VenuGopal-pr1ix
@VenuGopal-pr1ix 6 ай бұрын
HI, How POST request with purshce info & token go to Backend Payment system, i belive it should go to stripe/paypal as the page belong to them.
@VenuGopal-pr1ix
@VenuGopal-pr1ix 6 ай бұрын
Please provide the details
Design An Ecommerce Payment System | System Design
17:46
Code with Irtiza
Рет қаралды 13 М.
Design a Payment System - System Design Interview
31:40
High-Performance Programming
Рет қаралды 425 М.
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 14 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 145 МЛН
Google system design interview: Design Spotify (with ex-Google EM)
42:13
IGotAnOffer: Engineering
Рет қаралды 1 МЛН
Payment Gateway - All you need to know! - Yadvendra Tyagi, PayU
46:47
Here's why implementing a Payment System can be so hard
11:27
Software Developer Diaries
Рет қаралды 3,2 М.
Payment Gateway System Design | Payment Processing | System Design
33:02
The Tech Granth
Рет қаралды 188 М.
Basic System Design for Uber or Lyft | System Design Interview Prep
16:18
20 System Design Concepts Explained in 10 Minutes
11:41
NeetCode
Рет қаралды 895 М.
Choosing a Database for Systems Design: All you need to know in one video
23:58
How To Choose The Right Database?
6:58
ByteByteGo
Рет қаралды 289 М.