Skip to main content

alipay_serverpod 0.2.0 copy "alipay_serverpod: ^0.2.0" to clipboard
alipay_serverpod: ^0.2.0 copied to clipboard

Alipay Serverpod integration - reads credentials from passwords.yaml

0.2.0 #

  • 依赖 alipay ^0.2.0。扫码预下单和查单走要求 publicKeyBase64、并校验网关响应的伞包。已发布的 0.1.2 已含通知验签破坏性,该号保持不动。
  • 异步通知的 passback_params 百分号解码失败时返回 failure,不再把异常抛出路由。
  • 说明里的商户私钥改为 PKCS#8 PEM,去掉会产出 PKCS#1 私钥的 openssl 命令。

0.1.2 #

BREAKING #

  • publicKeyBase64 必填。AlipayServerpodConfig 从 alipayPublicKey 读入支付宝公钥,并写入扫码配置。没有公钥时,预下单和查单失败关闭。

  • 扫码预下单和查单的网关响应强制验签,不能关闭。

  • 异步通知验签通过后核对 app_id。缺失或与配置不一致时返回 failure,不调用成功回调。

  • 异步通知的 total_amount 为空或只有空白时返回 failure,不调用成功回调。

  • 表单解码会把签名中的 + 变成空格。验签前会还原,避免合法签名被误判失败。

  • Docs: use generic server/pubspec.yaml in install examples.

0.1.1 #

  • pub.dev documentation release (prerequisites and troubleshooting).

0.1.0 #

  • Initial release.
2
likes
135
points
489
downloads

Documentation

API reference

Publisher

verified publisherdartpub.tijingapp.com

Weekly Downloads

Alipay Serverpod integration - reads credentials from passwords.yaml

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

alipay, pointycastle, serverpod

More

Packages that depend on alipay_serverpod