Testing Samsung Checkout on TV
For testing In-app purchases and payments in your application, please follow below process.
Pre-Conditions before Starting Test
- Join in Samsung Seller Office and register your applications.
- Set 'Billing' field to 'Use' and 'Samsung Checkout on TV' field to 'Yes' (Prerequisites)
- Join DPI portal and create Product.
- (For verifying subscription plan) Add New Subscription group and plan.
- Register Test Buyer.
Testing Basic Checkout Purchase Workflow
- Launch your application.
- Request the purchase list to DPI Server.
- Request the product list to DPI Server.
- Call Samsung Checkout to buyItem.
- When the user selects “Buy” in the application, provide a common purchase GUI through Samsung Checkout.
- The user can enter a voucher or coupon code to modify the purchase price.
- The user confirms the purchase by entering a PIN on the common purchase GUI, or biometric information on Samsung Pay.
- Request the purchase list to DPI Server.
- Call Verify purchase API to DPI Server.
- Call Apply the product API to DPI Server.
Testing Upgrade/Downgrade the Subscription Plan
- Launch your application
- Get the list of products that can be changed in this subscription.(Subscription Plan Change Changeable-products API)
- Pre-check the impact of changing subscription products.(Subscription Plan Change Pre-check API)
- Reserve Subscription Plan Changes(Subscription Plan Change Reserve API)
- Get Subscription Plan Change Reservation Status(Subscription Plan Change Reservation Status API)
- Cancel Subscription Plan Change Reservation(Subscription Plan Change Cancel Status API)