config.php
2.8 KB
<?php
$config = array (
//应用ID,您的APPID。
'app_id' => "2018082861152687",
//商户私钥,您的原始格式RSA私钥
'merchant_private_key' => "MIIEogIBAAKCAQEAxINDLjTbJTgh+LFWfoNTZ+TYrCSYP032D7bKzteFTeEz4MFZ9enS8JV5bKR4TW1uvadIaxsKWXSgIvW7KpYUs61mStXoYw6/NhjHui84SYtCW+/H5QuEShhNMFu7FrY8phvhjijogJsta0I9tpEbEVAyce6I/S9Ahw/zid2MAVk3wnwfRMMsgYyxD8AqnHLkcHPu2q1WaXe0PT0w+odg0DpyuUpRueCjeuHUI837BbMJsC7ALAWoiU2xekvcRxishvXZGzryKMRv/D64MpsLuM6QZyukZ+BzA/bkFDxrgeL3ccERVsA45RjkOdWHGW0ArjxqxZmrGxhkjs3YRyUpcwIDAQABAoIBAEs+j4yzxG2d7rQRAzNyCY+wep5/bKRgr6UYstM8hthpMLoQjuewXoqsUVAeMcpD6rFHylzof6/9DgwU11PZH5gk/xQMj+zOCr0mA+PwjLbsUb5uM7YqEL9mSrgHh72MjfB0oIsUcuI7iMqXFJZBPYIFmSsy0NVRMH4Gx5O0dxVUbkpVwiQhSDyPwegAZjdvJ46M9ueXlzYgzgfHZDnNFgb1XWc/rqPHud7Lm3jSz4biJW32+vm812PCCXNqyLWqwsjZvV0+rCjOwXRrNoIQzrBhXi+y7DUH5FuMR8d2IsNQu/0ANP5kgdSfHXpxrv5ZgFZ/wTnseNMZvQHM+RNHiTECgYEA5dUiOMoWbuisji6EM97gZGG1PLwTA3/VvUCJLjxJ/jQnUeN5AEz0aG9GrCOQ+3QDRGbbCuX+lDzulaI79ZJ/J9Pg/+2AXwsHxKctBSN9seeuUGgmY50d7OhnsWQbZfIBsFWq3GedYbvqjIp+zyYmalTwNbMvZU3VzQ+j3XgnY50CgYEA2uL3JMBL8ZYZyok7VEAeb61AsM7cmx9qYnc1228p5t0BEVKNYFNK4pJF6JqBLrllDPZIDFjxgGOI/AACZJbQ+EnBHHAuksuF18yql5qEUYqclPHO64wulfyz/fK55rfGBq3I26SrUNWj7PW33UR/BAlwM5X1SwJNjBiTlAOlXE8CgYAkUGfG109yGLti/8CNvZJw6etL/F94txMbgv3p20bJro3j53Av9vjLI4HkIv5+bJczkJjdgPeXjoUYCXk11P7YWSb86RbWbZS9orh/TltG59doBvzB0opu602u/qVBl1pi9TY4+von/hwSNrPQoTOCq4cExRohBIpaizUWAi0fFQKBgEXKWEK/jXdaBJ8vYltallnFQ/sb+fr76U+78tAkgZe6n7yGNc2gwR+8w82GdeoP8shPPmmxck8dbW/sENdBvx9rZMdMfY0Ql3xXJY1xFv9o0sQq1W8FI1VvXXR7EAsgTWOTxZdCydzcQYgsUJOcY2NGHyBTkAJ6mX8x1tw6zV7BAoGAY1RDXUyusMdEjzUjw8V7ivkmOXdojodxJgbObMvw0fzlhY5WN4vRoih8pvW9q8QcOTXQ0vw7D+9JijoHjI64ErQO8uMZgOiLijAkMTNZBUZLKwuc8AB/S3y40L/ekDRqnCQbt9WRceK9V06gRZifa8Hl/igHdt8IZ1oXh4Uii5s=",
//异步通知地址
// 'notify_url' => $_SERVER['HTTP_HOST']."/portal/Alipaywap/notify_url",
'notify_url' => "http://m.wanlin-edu.com/portal/Alipaywap/notify_url",
//同步跳转
// 'return_url' => $_SERVER['HTTP_HOST']."/portal/Alipaywap/return_url",
'return_url' => "http://m.wanlin-edu.com/portal/Alipaywap/return_url",
//编码格式
'charset' => "UTF-8",
//签名方式
'sign_type'=>"RSA2",
//支付宝网关
'gatewayUrl' => "https://openapi.alipay.com/gateway.do",
//支付宝公钥,查看地址:https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
'alipay_public_key' => "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs6Ra4lslwA/m1Aa+gkTiVSSkecYD6Gh6smhC2f9iLCn7ZvJ4Lpx6tIBfhwVCBeveIRfSE+lyL+Hc1q5He0DFSzY4rNYvnHk4PsSQrRhfJWLa41qAj9FlI7Jf03YKm5yYQyCYHJbX6zw2LElPKoHwwLrgrACnlCnvQ+jTy7bplhg5aO4yj1fJ/Tmb1RwbPLB8dNba2c27mShtZ4y3x/sLN+hAoyndHqBhUnFwNXUj7TOXddIoZk3SauIX0XGDw6GOb30F/cxzp4Uk3QyKJXEsWR5k/ZWVNzDpHA+nqejFxEWTd6z+lF3kuoyIDGbfyaw01v0srZevwcqZINIaqj6yuwIDAQAB",
);