Set up a subscription with Kakao PayBeta
Set up a subscription using Kakao Pay as a payment method.
Use the Checkout Sessions API to create and confirm a subscription with a prebuilt checkout page.
Create a product and priceDashboard![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Products represent the item or service you’re selling. Prices define how much and how frequently you charge for a product. This includes how much the product costs, what currency you accept, and whether it’s a one-time or recurring charge. If you only have a few products and prices, create and manage them in the Dashboard.
This guide uses a stock photo service as an example and charges customers a 100,000 KRW monthly subscription. To model this:
- Navigate to the Add a product page.
- Enter a Name for the product.
- Enter 100,000 for the price.
- Select KRW as the currency.
- Click Save product.
After you create the product and the price, record the price ID so you can use it in subsequent steps. The pricing page displays the ID and it looks similar to this: price_
.
Create a Checkout SessionServer-side![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Your customer must authorize you to use their Kakao Pay account for future payments through Stripe Checkout. This allows you to accept Kakao Pay payments. Add a checkout button to your website that calls a server-side endpoint to create a Checkout Session.
<html> <head> <title>Checkout</title> </head> <body> <form action="/create-checkout-session" method="POST"> <button type="submit">Checkout</button> </form> </body> </html>
Create a Checkout Session in subscription
mode to collect the required information. After creating the Checkout Session, redirect your customer to the URL that the response returns.
Test your integrationServer-side![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Select Kakao Pay as the payment method and tap Subscribe. You can test the successful payment case by authenticating the payment on the redirect page. The PaymentIntent transitions from requires_
to succeeded
.