Current support status
When checking existing records, retain the original payment method identifier, Onerway paymentId and transactionId, and your order number. To choose another method, list the payment methods available for your order.
Basic information
This guide covers one-time Checkout payments for enabled merchants and applications serving the 🇸🇬 SG market with SGD orders. The customer selects PayNow in Checkout and uses a supported banking app to scan the payment QR code and approve the transfer.
Before you begin
Complete Setup and confirm that your merchant and application are enabled for this payment flow. Confirm your transaction limits, payment expiry, settlement arrangements, and test procedure with Onerway. Follow Currency and amount validation for SGD order amounts.
Supply actual customer and product information according to the API requirements, including the customer’s email and billing country SG. Configure your return page and notification endpoint, and store the mapping between your order and the Onerway payment identifiers.
Start the payment through Checkout
- On your server, call Create Checkout Payment with
productType=ALL,subProductType=DIRECT,txnType=SALE,paymentMode=WEB, andorderCurrency=SGD. Let the customer select PayNow in Checkout. Do not sendlpmsInfo. - Supply the customer and product details, notification URL, and return URL required by the API. Encode
billingInformation,shippingInformation, andtxnOrderMsgas JSON strings. Keep product and order currencies consistent and ensure the product amounts, discounts, and shipping charges totalorderAmount.
Select the request example “Unified Checkout with all available payment methods”. Replace the placeholders with your order and customer data, use SGD, and removecardInfofor this flow. The example shows the shared Checkout request structure. - Select the response example “Unified Checkout session created”. Store the returned
paymentIdandtransactionIdagainst your order, then redirect the customer's browser toredirectUrl. The initialstatus=Umeans the payment is unpaid. - The customer selects PayNow from the methods available for the order. Checkout handles the subsequent payment page. If the method is absent, contact Onerway to check application enablement and order conditions.
See Checkout integration for request authentication and return-page handling. Before creating the payment, you can use List available payment methods to check availability for the current order.
Customer actions and final result
Checkout displays the payment QR code. The customer scans it with a supported banking app, checks the recipient and SGD amount, and authorizes the transfer. Plan a way for customers using one device to access the QR code with their banking app; test the agreed device flow before launch. Your application does not collect banking credentials.
See PayNow’s instructions for customer guidance; follow the options offered on the payment page.
Returning to your website does not confirm payment success. Process the signature-verified Payment Result notification on your server. If the notification is missing or you need to check the result, call Query payments with the saved paymentId. See Webhooks for verification, acknowledgement, idempotency, and query fallback.
Fulfil the order only after your server confirms payment success. If the customer cancels or leaves payment incomplete, check the existing payment before creating a replacement.
Refunds and disputes
Confirm the refund capabilities, partial-refund support, request deadlines, and dispute process enabled for your account with Onerway. If refunds are enabled, follow Refunds and track the refund result separately.
Testing and go-live
Agree the test environment and customer approval procedure with Onerway, then follow Sandbox testing.
- Create a SGD order with the required customer and product details. Verify that the returned URL opens Checkout and PayNow is available.
- Select the method, check the displayed amount, and complete the agreed customer actions. Retain the notification and acknowledgement for the same order, then query the payment and check that the results agree.
- Test cancellation, incomplete payment, and returning before the final result. Confirm that a return alone never marks the order paid, duplicate notifications are handled idempotently, and missing notifications can be reconciled by querying the payment.
- Before launch, verify production enablement, notification and return URLs, SGD order support, limits, and expiry. Test refunds separately if enabled.