# Alipay+

> Accept one-time online payments from wallets across multiple markets through Alipay+ and confirm the transaction result.

## Basic information

Through Alipay+, merchants can accept payments from wallets across multiple markets: the customer opens the payment selection page, chooses an available wallet, and completes payment.

- Integration paths: [Checkout](/payments/versions/v2/online-payments/checkout), [Web SDK](/payments/versions/v2/online-payments/sdk), [Direct API](/payments/versions/v2/online-payments/api) (`Alipay+` aggregate entry)
- Transaction type: One-time online payment
- `lpmsInfo.lpmsType`: `Alipay+` (Direct API aggregate flow)

### Wallet markets and order currencies

| Payer wallet market | Payment methods |
| --- | --- |
| 🇵🇭 PH | GCash, BPI |
| 🇨🇳 CN | Alipay |
| 🇭🇰 HK | AlipayHK |
| 🇲🇾 MY | TNG eWallet |
| 🇹🇭 TH | TrueMoney |
| 🇰🇷 KR | Kakao Pay |
| 🇮🇹 IT | Tinaba |
| 🇦🇹 AT / 🇩🇪 DE | Bluecode |

Order currencies include PHP, GBP, CNY, USD, HKD, EUR, and AUD. A wallet's market does not determine its order currency. Available wallet and currency combinations depend on your account configuration and the availability query for the current order.

## Before you begin

Complete [Setup](/payments/versions/v2/get-started/setup) and confirm Alipay+ enablement with Onerway. Follow [Query available payment methods](/payments/versions/v2/online-payments/payment-methods/local-payment-methods#query-available-payment-methods) for order availability; the directory is not a list of methods enabled on your account. Check [Currency and amount validation](/payments/versions/v2/get-started/currency-and-amount) and confirm your account's transaction limits and settlement currencies with Onerway.

Prepare a return page and a server notification endpoint. The return page should show a pending state while your server determines the transaction result.

## Create a payment

### Checkout

Follow [Checkout integration](/payments/versions/v2/online-payments/checkout) to create the payment and send the customer to the returned `redirectUrl`. Onerway handles payment selection and customer interaction. After the customer returns to your site, confirm the server-side result as described below.

### Web SDK

Follow [Web SDK integration](/payments/versions/v2/online-payments/sdk) to create an SDK order, initialize the SDK with the returned `paymentId`, and mount the payment component. The SDK handles customer interaction. Handle payment events and subsequent actions as described in that guide, and confirm the final result on your server.

### Direct API

For a one-time Direct API payment, submit `productType=LPMS`, `subProductType=DIRECT`, `txnType=SALE`, and `lpmsInfo.lpmsType=Alipay+` through [Create direct transaction](/payments/versions/v2/api-reference/endpoints/direct-create-transaction).

In the request examples for [Create direct transaction](/payments/versions/v2/api-reference/endpoints/direct-create-transaction), select “Alipay+ request (illustrative)” and replace its placeholders with your own order data.

For this aggregate flow, set `lpmsInfo.lpmsType` to `Alipay+`. The customer selects a wallet after opening the returned payment page.

For a Direct API response with `actionType=RedirectURL`, send the customer to `data.redirectUrl`.

In the response examples for [Create direct transaction](/payments/versions/v2/api-reference/endpoints/direct-create-transaction), select “Alipay+ response (illustrative)”. See [`redirectUrl`](/payments/versions/v2/api-reference/endpoints/direct-create-transaction#response-data-redirectUrl) for the redirect field definition.

## Customer action and final result

The customer chooses a payment method on the payment selection page and follows its payment flow.

Returning to your page does not prove payment success. Use the transaction's `status` from the verified [payment result webhook](/payments/versions/v2/api-reference/webhooks/payment-result), or [Query transactions](/payments/versions/v2/api-reference/endpoints/query-transactions) when reconciling the result. Do not use the selected wallet's name to decide whether a payment succeeded. See [Webhooks](/payments/versions/v2/get-started/webhooks) for verification, acknowledgement, and duplicate handling.

Only `status=S` confirms a successful payment; `status=F` indicates failure. Handle other values according to the API reference and retain a pending state where applicable.

## Refunds and disputes

Confirm refund availability, partial refund support, refund time limits, and the applicable dispute process with Onerway for your account. When enabled, use the common [refund flow](/payments/versions/v2/online-payments/scenarios/refunds). Do not infer these capabilities from the wallets displayed on the payment selection page.

## Testing and go-live

Confirm the available test environment and test wallet access with Onerway before following [Testing](/payments/versions/v2/get-started/testing).

1. Create an Alipay+ payment and verify that the redirect opens the payment selection page. Select Alipay when available for your test setup, then complete payment.
2. Confirm that a verified notification or server query reports `status=S` before your order becomes paid.
3. Cancel or abandon payment and return to the merchant page. Confirm that the return alone does not mark the order paid; reconcile missing notifications by querying the transaction.
4. Before launch, confirm production enablement, order currencies and limits, the return page, and the notification endpoint. Test refunds if enabled for your account.
