AI

ACE AI SW Startup Training

Designing a Payment Service

Day 9 Designing a Payment Service Videos + AI chatbot learning

Payment System Design & External PG Integration with an AI Learning Helper

Day 9 learning content: understand the whole flow from choosing a product to creating an order, processing payment and saving the result, and design state management, external PG integration, exception handling and recovery strategies.

For: students who built sign-up and authentication
Bring: laptop, a payment PG test account (Paystack, Flutterwave, Stripe, etc.)
Format: 2h theory / 3h lab / 1h sharing
πŸ“– Go to Session 9 guide

πŸš€ Day 9 Lab MVP Tasks Roadmap

Go to full Task board β†’
TASK 1
Planning

Task 1. Design the Payment Flow

Cut the complex back-and-forth steps from product choice to payment and simplify into a 3-step overlay model.

Enter Task 1 lab
TASK 2
Exceptions

Task 2. Review Payment Failure Scenarios

Plan responses for each raw error like over-limit and network delay, and add a disabled lock that blocks double approvals.

Enter Task 2 lab
TASK 3
UX Audit

Task 3. Improve the Payment Experience

Add an itemized price receipt, reassuring security text and a refund policy anchor link to the payment window to ease phishing worries.

Enter Task 3 lab
MISSION 1
Failure Guide

Mission 1. Handle Payment Failures

Build a message set that reassures users in money-scare situations like a force-closed PG window or maintenance outages.

Enter Mission 1 lab
MISSION 2
Friction Audit

Mission 2. Check Everything Through to Purchase

Do a mock run from product choice to the done page and fix peak drop-off risks like forms resetting.

Enter Mission 2 lab

Day 9 Lecture Videos

Recommended YouTube lectures
A list of recommended YouTube lectures on the key Day 9 topics (payment flow, separating product/order/payment, PG integration, webhook handling, transactions). (All are free lecture videos that allow embedding and playback.)
πŸ“š All lectures (5)
  • β–Ά
    1. PortOne's payment stories - PG glossary (PortOne, Korean)
    7:45
  • β–Ά
    2. Payment integration in 10 minutes, all explained at once! (PortOne, Korean)
    10:15
  • β–Ά
    3. Toss Payments | Integrate payments in 5 minutes (Toss Payments, Korean)
    5:30
  • β–Ά
    4. Building recurring (subscription) payments with PortOne (PortOne, Korean)
    8:20
  • β–Ά
    5. Database - understanding Transactions (Korean)
    12:45

Key Summary Notes

Day 9 Summary

Today's key goals

On Day 9 you work with a Codex AI payment partner to analyze break points that cause users to drop off, and add calming wording for payment errors, double-payment blocking and trust badges.

  • Order-payment business flow design: design state transitions like order pending, order done, payment pending and payment done
  • External PG integration API: handle payment requests/approvals through the PG's SDK and API
  • Webhook data checks: receive and compare server-to-server Webhooks to prevent tampering with payment results
  • Transaction handling: roll back the DB and restore order status when an error happens during payment
  • Payment failure recovery: prevent double payment (Idempotency) and handle network cancellations
Learning tip: ask the AI chatbot on the right questions like "Why use a Webhook when payment completes, and how do you verify it for security?" or "How do you guarantee data integrity when a network error happens during payment?"