Skip to content

Instantly share code, notes, and snippets.

@EikeDehling
Last active November 25, 2025 10:02
Show Gist options
  • Select an option

  • Save EikeDehling/408feb4a83915553a3017337f246c1ac to your computer and use it in GitHub Desktop.

Select an option

Save EikeDehling/408feb4a83915553a3017337f246c1ac to your computer and use it in GitHub Desktop.
A payment processing systems (like Stripe) allow business to accept payment from customers, without having to build their own payment processing infrastructure. Customer input their payment details on the merchant's website, and the merchant sends the payment details to the processor. Processor then processes the payment and returns the result to the merchant.
* Merchants should be able to initiate payment.
* Consider card authorize, capture and combined flow (authorize + capture).
* Merchants should be able to schedule recurring payments (for example monthly subscriptions).
* Merchants should be able to cancel or refund payments.
* Users should be able to pay for products with credit/debit cards and bank accounts.
* Merchants should be able to view status of payments (e.g., pending, success, failed, chargeback).
* Consider fault handling, such as insufficient funds, bank server unavailable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment