企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
生产秘钥:[https://docs.open.alipay.com/291/105971](https://docs.open.alipay.com/291/105971) 要在C盘下运行:[http://www.downyi.com/downinfo/36463.html](http://www.downyi.com/downinfo/36463.html) 开发文档:[https://openhome.alipay.com/developmentDocument.htm](https://openhome.alipay.com/developmentDocument.htm) 电脑网站支付 开发文档:[https://docs.open.alipay.com/270/106291](https://docs.open.alipay.com/270/106291/) 直接下载官网的demo,只要将官方要求的重要资料填好,就可以立即使用,以下是config.php文件的预设内容: ``` <?php $config = array ( //应用ID,您的APPID。 'app_id' => "", //商户私钥 'merchant_private_key' => "", //异步通知地址 'notify_url' => "http://外网可访问网关地址/alipay.trade.page.pay-PHP-UTF-8/notify_url.php", //同步跳转 'return_url' => "http://外网可访问网关地址/alipay.trade.page.pay-PHP-UTF-8/return_url.php", //编码格式 'charset' => "UTF-8", //签名方式 'sign_type'=>"RSA2", //支付宝网关 'gatewayUrl' => "https://openapi.alipay.com/gateway.do", //支付宝公钥,查看地址:https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。 'alipay_public_key' => "", ); ``` 主要涉及到关键资料: 应用ID:app_id 商户私钥:merchant_private_key 异步通知地址 :notify_url' 同步跳转 :return_url 支付宝公钥:alipay_public_key