Set up a subscription with Naver PayPrivate preview
Set up a subscription using Naver Pay as a payment method.
You can use the Checkout API to create and confirm a subscription with a prebuilt checkout page.
Create a product and priceDashboard
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
Your customer must authorize you to use their Naver Pay account for future payments through Stripe Checkout. This allows you to accept Naver 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
Select Naver 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
.