Sencillito
Basic information
Sencillito is a payment service in Chile. The customer follows the payment instructions, reference, and amount shown on the payment page.
- Integration paths: Checkout, Web SDK, Direct API (only after Onerway confirms availability)
- Transaction type: One-time payment
lpmsInfo.lpmsType:Sencillito- Web SDK
config.paymentMethod:['Sencillito']
| Customer country/region | Order currency |
|---|---|
| 🇨🇱 CL | CLP |
The customer country/region is the billingInformation.country value in the payment request.
This guide covers enabled configurations. After you create a payment, Checkout or the Web SDK displays the methods available for that order, and the customer selects Sencillito.
Before you begin
Complete Setup and confirm with Onerway that Sencillito is enabled for your merchant and application. Also confirm the applicable transaction limits, payment validity period, and settlement arrangements. For amount formatting, see Currency and amount validation.
Configure your server notification URL and customer return URL, and store the mapping between your order and paymentId. If the flow redirects the customer, use the return page to restore the order view.
Start the payment
Direct API
Use this path only after Onerway has explicitly confirmed Direct API availability for your merchant application. Method enablement or availability in Checkout does not establish Direct API availability. Until this is confirmed, use Checkout or the Web SDK as described below.
For this Direct API path, collect the customer’s billing name, email, phone, actual country, and full address before creating the payment. Also collect the customer’s identity identifier; confirm its accepted type and format for your enabled configuration with Onerway. Supply shipping details according to the API conditions. Configure your server notification URL and customer return URL, and store the mapping between your order and the Onerway identifiers.
Supply the collected firstName, lastName, email, country, phoneCountryCode, phone, address, city, province, street, number, and postalCode in billingInformation. Supply the full billing address in address; the separate address fields do not replace it in this Direct API path. Supply the identity identifier in identityNumber, using the type and format confirmed for your enabled configuration. Follow the public API format: phoneCountryCode contains digits without +, and phone contains the local number without its country code. Use street for the street name, number for the house or building number, and province for the ISO 3166-2 subdivision code. This Direct API path supplies these details in advance; it does not rely on the payment page collecting missing information. The billing and shipping objects must still satisfy the API field conditions. The customer’s actual billing country must be CL for this Direct API path; do not change it to select a payment route.
- Check List available payment methods for the current order. After the customer selects this method, call Create direct transaction from your server with
productType=LPMS,subProductType=DIRECT,txnType=SALE, andpaymentMode=WEB. SetlpmsType=SencillitoinlpmsInfo, encoded as a JSON string. - Supply the customer details listed for this Direct API path in
billingInformation, and follow the API requirements forshippingInformation. Encode both as JSON strings. Include products, notification and return URLs, and merchant-collected end-user IP, browser, and device information intxnOrderMsg. Keep product and order currencies consistent, with product amounts, discounts, and shipping fees adding up toorderAmount.
Select the request example “Redirect local payment request (illustrative)”. It uses Bancontact / BE / EUR to show the shared structure. Replace the method withSencillito, use CLP for this flow, and supply the actual order and all billing details listed above, including the customer’s actual billing country (CL) and the identity identifier described above. The example amount does not establish a transaction limit. - Store the returned
paymentIdandtransactionId. Whenstatus=RandactionType=RedirectURL, redirect the customer’s browser toredirectUrl. The response example “Redirect local payment response (illustrative)” shows this shape. For other actions or states, follow Local payment integration. Do not repeatedly create the same order while waiting. - The provider’s page guides the customer through payment. When the customer returns to your site, display the result retrieved from your server. See Request signing for authentication.
Checkout
To show only Sencillito in Checkout, first check List available payment methods for the current order. When Checkout displays all available methods, Onerway performs this filtering.
- On your server, call Create checkout payment with
productType=ALL,subProductType=DIRECT, andtxnType=SALE. To show only Sencillito, setlpmsInfo.lpmsTypetoSencillito, sendinglpmsInfoas a JSON string. If you omitlpmsInfo, the customer chooses from the methods available for the order. - Supply the billing, shipping, product, return URL, and notification URL fields required by the API. Encode
billingInformationandshippingInformationas JSON strings, including the required email and country for each. Keep product and order currencies consistent and ensure that product amounts, discount entries, and shipping fees add up toorderAmount.
Select the request example “Unified Checkout with all available payment methods”, replace the order and customer details, and add this method'slpmsInfoif you want to show only Sencillito. Use CLP for this flow and remove the example’scardInfoobject. - Select the response example “Unified Checkout session created”. Store the returned
paymentIdandtransactionIdagainst your order, then redirect the customer's browser toredirectUrl. The initialstatus=Umeans that payment has not been completed. - Onerway Checkout handles the payment page and customer payment interaction. When the customer reaches
returnUrl, retrieve the order result from your server. If no notification has arrived, use the stored transaction identifier to Query transactions. For signing, redirects, and return handling, see Checkout integration.
Web SDK
For this SDK path, keep the SDK billing address form (leave config.showBillingAddress at its default true) so the customer enters billing details as prompted. You can send billing information you already hold when creating or updating the order. For field formats and conditions, see Create SDK transaction.
- On your server, call Create SDK transaction with
productType=ALL,subProductType=DIRECT, andtxnType=SALE. Select the request example “One-time SDK payment” and the response example “One-time SDK transaction created”. These examples show the shared creation flow before a payment method is selected. Replace the amount, currency, and product details with the actual order, keeping the product and order currencies consistent. - Initialize Checkout with the returned
paymentId, following Web SDK integration. To display only this method, setconfig.paymentMethodto['Sencillito']in the initialization options. Then subscribe to events and mount the Payment Element. This configuration only filters methods returned by the server; it does not enable Sencillito. - In the
readyevent, check thatavailablePaymentMethodscontainsSencillito. - After the customer selects Sencillito and completes the form, call
confirmPayment()from your payment button. Handle the actualpaymentStatusandnextActionreturned. For the complete event and error handling flow, see Web SDK integration.
With the Web SDK, paymentStatus=R means that customer interaction must continue. Handle the actual nextAction.type returned:
PresentToShopper: keep the current SDK Checkout instance and leave its Payment Element mounted while the SDK presents the payment interface, wait forpayment_result, and do not callconfirmPayment()again.RedirectShopper: wait for the customer to reach thereturnUrlsupplied when creating the order, then query the order on your server. Initially show that the result is being confirmed.
Customer actions and final result
The customer follows the payment instructions, reference, and amount shown for this payment. Use the payment locations or online options offered by that page. If it shows an expiry time, the customer should pay before it expires. Generating a payment reference does not mean that payment has been completed: keep the order pending until the server confirms the result. The payment page for your chosen integration path presents the payment information.
Process the order on your server using a signature-verified payment result webhook. If the notification has not arrived or you need to check the result, call Query payments with the stored paymentId. Fulfill the order only after your server confirms a successful payment. For verification, acknowledgement, idempotency, and query fallback, see Webhooks.
Closing the payment page or returning to your site does not establish a successful payment. Restore page interaction after a cancellation and continue to use the server result for the order status. Do not fulfill an order or update your ledger based on status parameters in the return URL.
Refunds and disputes
Before integration, confirm the refund capabilities, restrictions, and dispute process applicable to your merchant with Onerway. If refunds are enabled, follow Refunds.
Testing and go-live
Test each integration path you use: Checkout must open redirectUrl and display the method; the Web SDK must include it in ready.availablePaymentMethods. For the Direct API, use the customer details specified above and check the actual response; R + RedirectURL must open the payment page. The payment and server-result checks below apply to each path.
Confirm the test environment and available Sencillito test options with Onerway, then follow Sandbox testing:
- Create an order using an enabled country, CLP, and your test amount. Confirm that
Sencillitois available through your chosen integration path. If it is not, check the merchant, application, and order configuration. - Complete the customer actions offered by the payment page. Continue through your chosen integration path, and confirm the result on your server before updating the order. For go-live acceptance, retain the notification and acknowledgement for the same order, then make an active query to verify that the results agree.
- Cancel or close the payment page partway through the flow. Confirm that a return to your site alone never marks the order as paid, and test query fallback when no notification has arrived.
- Verify idempotent handling of duplicate notifications. Before going live, check production enablement, notification and return URLs, limits, and validity periods. Test refunds separately if they are enabled.
Trustly
Accept one-time Trustly payments through the Direct API, Checkout, or the Web SDK, and confirm the result on your server.
Przelewy24
Accept one-time Przelewy24 redirect payments with Checkout, the Web SDK, or the Direct API, submit the selected bank identifier, and confirm the result on your server.