TinyShip
TinyShip
  • Docs
  • Updates
    ← Back to Updates
    Jan 28, 2026Release

    TinyShip 1.6.0 - Alipay Payment Support

    TinyShip 1.6.0 Released

    This version introduces Alipay payment support, one of the most popular payment methods in China, enabling seamless integration for applications targeting Chinese users.

    ✨ Core Additions

    Alipay Provider: New payment provider implementation (libs/payment/providers/alipay.ts) using alipay-sdk

    Factory & Type Updates: Payment factory and type definitions updated in libs/payment/index.ts to support Alipay

    Gateway Selection: Config supports both production and sandbox gateway environments

    Webhook Endpoints: Complete webhook implementations for both Next.js and Nuxt applications

    🎯 Supported Features

    FeatureSupportNotes
    One-time Paymentβœ…PC website payment (alipay.trade.page.pay)
    Subscription❌Not supported
    Credits Rechargeβœ…Supported
    Sandbox Testingβœ…Full sandbox environment support

    πŸ”§ Technical Highlights

    Alipay SDK Integration: Native alipay-sdk package for reliable payment processing

    Webhook Handlers:

    • Next.js: apps/next-app/app/api/payment/webhook/alipay/route.ts
    • Nuxt: apps/nuxt-app/server/api/payment/webhook/alipay.post.ts
    • Returns plain-text success/fail responses as required by Alipay

    UI Updates:

    • Orders cards display Alipay provider in both Next.js and Nuxt dashboards
    • Payment success pages skip verification for WeChat/Alipay (webhook-driven)

    i18n Support: English and Chinese strings updated throughout dashboard and admin panels

    πŸ“š Documentation

    New documentation added:

    • Alipay Configuration Guide: docs/user-guide/payment/alipay.md
    • Payment Overview Updated: Alipay added to supported payment methods
    • Internal Guides: Payment guides reflect Alipay integration

    πŸ“¦ Dependencies

    • Added alipay-sdk package for Alipay API integration