Recommended by Yuno for the smoothest SDK integration experience. Seamless is the only integration that creates payments seamlessly in one flow.
How it works
- You display available payment methods to the customer
- When the customer selects a method, mount the Seamless Checkout form
- Yuno renders the payment form, handles tokenization, and calls your
yunoCreatePaymentcallback - You create the payment server-side, then call
yuno.continuePayment()to complete the flow
Integration steps
1. Create a checkout session
Create a checkout session from your server using the Create Checkout Session endpoint.2. Initialize the SDK
3. Start Seamless Checkout
4. Mount the checkout for a payment method
When the customer selects a payment method, mount the form:5. Trigger the payment
External buttons
Mount Apple Pay and Google Pay buttons outside the checkout form:Callbacks
| Callback | Description |
|---|---|
yunoCreatePayment(oneTimeToken, tokenWithInformation) | Called when token is generated. Create payment server-side, then call yuno.continuePayment() |
yunoPaymentMethodSelected(data) | Fires when the user selects a payment method |
yunoPaymentResult(data) | Returns the final payment result |
yunoError(error, data) | Error handler |
Card vaulting
To automatically save cards on successful payment, setvault_on_success: true when creating the checkout session.
Next steps
Full Checkout
Pre-built UI with zero payment method management.
Customization
Theme and style your checkout.