AliMPay - 一个手搓的自建支付宝码支付

太强了,

mark下看看

这个是不是要先开通商户

PHP是世界上最好的语言(确信)

1 Like

感谢大佬分享

1 Like

能对接独角数卡吗?

应该和v免签差不多吧

真牛啊!

插眼,我再看看别的!

好东西 :distorted_face:

https://domain/health.php正常

{
    "success": true,
    "data": {
        "timestamp": "2026-02-28 16:06:24",
        "system": "CodePay Container Monitor",
        "status": "ok",
        "services": {
            "database": {
                "status": "healthy",
                "total_orders": 0,
                "unpaid_orders": 0
            },
            "alipay_api": {
                "status": "healthy"
            },
            "monitoring": {
                "status": "stale",
                "last_run": "2026-02-28 15:33:46",
                "uptime": 0,
                "health_score": 25,
                "seconds_since_last_run": 1958,
                "last_message": "API triggered monitoring cycle completed successfully"
            },
            "order_cleanup": {
                "status": "enabled",
                "timeout_seconds": 300,
                "expired_orders_count": 0,
                "last_cleanup": "Runs with monitoring cycle"
            }
        },
        "counters": {
            "total_orders": 0,
            "unpaid_orders": 0,
            "paid_orders": 0,
            "system_uptime": 1996
        },
        "suggestions": [
            "⏰ Monitoring service is stale (last run: 2026-02-28 15:33:46). Consider restarting."
        ]
    }
}

但对接new-api时付款跳转 https://domain/submit.php 后面不带参数导致报错。

支付请求失败

抱歉,我们无法处理您的支付请求。请检查您的参数是否正确,或联系网站管理员。

错误信息: Invalid signature

对接独角https://domain/submit.php 页面正常显示,但检测不到已付款,继续调试中。。

update: 独角用经营码调试成功了,佬友牛逼


老友,你说的是这个经营码吗?这个经营码和一般的个人收款码有什么区别?

没有看到演示站, 想问一下, 这个扫码支付, 需要用户自己填写金额吗? 还是会自动填写好

经营码是那个支付码个人收款码吗

https://jbls.ide-soft.com/ 整站功能就是php肝的 :rofl:

微信有办法做到吗,我看现在易支付那种平台要么需要挂机要么手续费高而且需要提前充值手续费并且平台充值的余额都不能提现

请问一下现在还可以正常使用吗? 谢谢

独角一直显示支付网关响应异常佬知道咋解决吗

我在如何运行php 工程上花了很多时间, 能不能搞个docker

1 Like

牛的兄弟,收藏了,改天试试这个源码