Alipay payments
Alipay is JumpCLI's external payment service. The application creates controlled payment orders, verifies asynchronous notifications, and activates subscriptions only after confirmation by the billing service. The browser payment page never makes the final entitlement decision.
Prerequisites for launch
- Approved paid-settlement capability is enabled.
- Meteroid is reachable and has at least one published, valid plan.
- The plan has a payable CNY price.
- The Alipay application, signing key, verification public key, and callback URL are configured server-side.
PUBLIC_ORIGINis an HTTPS address reachable by Alipay.- HTTPS, OIDC callbacks, and logout have been verified for
app.jumpcli.comandauth.jumpcli.com. - Meteroid plans, order fulfillment, and notification retries have been verified in a sandbox or with test orders.
Keep real payment entry points disabled until every check above is complete. JumpCLI does not currently provide a production Alipay adapter. A browser return is for displaying the result only; final entitlements must be based on server-side signed notifications, active verification, and Meteroid fulfillment status.
Payment flow
- The customer selects a purchasable plan on the subscription page.
- JumpCLI locks the plan version, amount, and currency, then creates a controlled order.
- The customer is redirected to Alipay to complete payment.
- The server verifies the asynchronous notification and actively queries the transaction status when necessary.
- JumpCLI activates the subscription through the billing adapter, links the invoice, and refreshes entitlements.
- The customer returns to the subscription page to view the final status.
Exception handling
When an order remains pending, first check payment-notification verification, billing fulfillment, and reconciliation status. Do not bypass signature verification, mark a payment manually, or grant access based on a browser redirect page.