Skip to content

[Community] Alipay Payment SDK for Serverpod #4691

Closed

Description

@Metaildust

Summary

I've published a community-maintained Alipay payment integration for Serverpod, supporting both App Pay and QR Pay (Face-to-Face Payment).

Packages

Package Description pub.dev
alipay_app App Pay order string builder pub.dev/packages/alipay_app
alipay_qr QR Pay precreate & query pub.dev/packages/alipay_qr
alipay Combined package pub.dev/packages/alipay
alipay_serverpod Serverpod integration pub.dev/packages/alipay_serverpod

GitHub: https://github.com/Metaildust/alipay_dart

Features

  • App Pay - Build alipay.trade.app.pay order strings for invoking Alipay SDK
  • QR Pay - Precreate payment QR codes and query order status
  • RSA2 Signing - Automatic request signing with PKCS#8 private key
  • Serverpod Integration - Reads credentials from passwords.yaml, configures in server.dart
  • Notify Route - Signature verification and payment callback handling

Quick Start

# pubspec.yaml
dependencies:
  alipay_serverpod: ^0.1.0
// server.dart
AlipayServerpodConfigStore.configure(
  appConfig: AlipayAppConfigServerpod(
    appId: 'YOUR_APP_ID',
    notifyUrl: 'https://your-server/alipay/notify',
  ),
);

Documentation

Full documentation with step-by-step Alipay platform setup guide is available in the package READMEs.


Note: This is a community-maintained package. For issues or feature requests, please open an issue on the GitHub repository.

Activity

  1. Metaildust commented on Feb 5, 2026

    @Metaildust
    Author

    This package is now part of the China Community Packages collection.

  2. marcelomendoncasoares commented on Feb 5, 2026

    @marcelomendoncasoares
    Collaborator

    Closing as explained on #4692 (comment).

  3. moved this from Inbox 📫 to Done 🚀 in Serverpod Frameworkson Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions