AliPay+ via Onerway: Drop In Guide
Integrate AliPay+ via Onerway on your website or mobile application with just a few lines of code.
Before you begin
This guide assumes that you know how to:
Accept payments with AliPay+ via Onerway
Prepare the client session
AliPay+ via Onerway requires the following data to process a payment successfully. Pass the following data in the client session, or in the payment request (for manual payment creation).
Parameter Name | Required | Description |
---|---|---|
currencyCode | ✓ | 3-letter currency code in ISO 4217 format, e.g. USD for US dollars |
order ↳ lineItems | ✓ | Details of the line items of the order |
Prepare the SDK for payments
Show Universal Checkout
Typescript
Customization
Check the customization guide to learn how to customize payment method buttons.
TypeScript
Show Universal Checkout
Typescript
Customization
Check the customization guide to learn how to customize payment method buttons.
TypeScript
Go live
You don’t need to do anything particular to go live — just make sure to use production credentials.