Webshop Integration Guide

circle-check

1. User Information Integration

View Specs

You can expose a navigation path in the game that directs users to ONE webshop.

If the navigation URL includes the user’s game ID and server information, the Webshop automatically applies the ONE store login status and Purchase Input Information, allowing users to proceed with the purchase immediately.

chevron-rightExamplehashtag
circle-exclamation

2. Server List Integration

View Specs

When users enter the ONE webshop detail page, the Webshop retrieves and displays the game server list in real time.

circle-info

If items must be delivered to a specific server, the developer must provide a Server List API. This API is called in real time on the Webshop detail page, and when the user completes a purchase, the selected server information is included in the PNS message.

The server list is displayed to users only if the following field is set during title registration: Developer Center > Webshop > Main Info > Purchase Input Information = Purchase Identifier + Server

chevron-rightExample hashtag

3. User Validation

View Specs

Verifies whether the game ID and server information entered by the user are valid, and checks whether the item can be purchased.

4. PNS (Payment Notification Service)

View Specs

When a user completes a payment, the Webshop sends the payment result and related information to the game server via a PNS notification.

PNS supports both Commercial Environment and Sandbox Environment.

5. Confirm Purchases

View Specs

To ensure that items are delivered correctly, the Confirm Purchases process must be completed.

Depending on your needs, you can use one of two APIs to perform Confirm Purchases.

API
Description

consumePurchase

  • This is the commonly used method for Confirm Purchases.

  • After processing, the user can repurchase the same item.

acknowledgePurchase

  • Used for one-time items.

  • After processing, the user cannot repurchase the same item.

circle-exclamation

Last updated