Take payments

06·Hands-on·14 min

Payments on DontCode come in three parts: how customers pay, what you sell, and where the money goes. Keeping them separate is what makes setup short.

How customers pay

Card, KakaoPay, NaverPay, and Toss Pay are built into the checkout every app uses. Your customers pick one when they pay, and prices can be in won or US dollars. You connect your own PortOne store once, on Payments → Connect, so every sale settles straight to you; which methods work depends on the payment companies you sign with. DontCode keeps your keys sealed, confirms every payment is genuine, and handles refunds, so there is no payment code in your app to write or look after.

What you sell: plans and features

A plan is something people pay for: a name, a price, a currency (won by default), and how often it bills. A feature is something a plan unlocks, such as unlimited uploads. Plans include features, and each plan can set its own limits. Create both by asking Insight in the chat: "create a Free plan and a Pro plan at 9,900 won a month; Pro includes advanced reports."

Your app then asks one question, "does this person's plan include this feature?", and shows or hides things to match. The answer comes from their subscription, so it stays right when someone cancels.

Where the money goes

Payments, under Money, shows your revenue, transactions, and subscriptions, and its Connect tab is where you connect your own PortOne account. Your customers' money goes straight to that account, and DontCode takes no fee. Payments work on every plan; until an account is connected, checkout tells the buyer the app cannot take payments yet, and a banner at the top of Payments says so, with a button to the Connect tab.

Handled for you

You decide what is for sale and connect where the money goes. Verifying each payment, receipts, renewals, and the reminder emails when a payment fails are all DontCode's job. Branded receipts are set on the Branding tab of Emails.

Check your understanding

  1. 1.A Pro subscriber cancels. Why does the Pro-only page close to them without any change to your app?

  2. 2.Checkout shows an error saying the app cannot accept payments yet. What is missing?

Your task

Insight Project

In the project chat, ask Insight to define at least one plan for your app (for example a Free plan and a paid monthly plan). The check passes once a new active plan exists.