Overview
SDK Lite renders a payment form directly in your checkout page. The integration flow:- Server: Create a checkout session
- Client: Initialize the SDK and mount the payment form
- Server: Create the payment when the customer submits
- Client: Call
continuePayment()for 3DS or async flows
Prerequisites
- Yuno API keys (Authentication)
@yuno-payments/sdk-webinstalled (SDK Overview)- A server endpoint to create checkout sessions and payments
Integration Flow
Mount the payment form
Call
startCheckout() to configure the checkout, then mountCheckout() to render the form:Create the payment (server-side)
When the customer submits the form, create the payment on your server:
Handle 3DS and async flows
After creating the payment, call See the Continue Payment guide for details on handling 3DS challenges and async payment methods.
continuePayment() to handle 3DS authentication or async payment status: