关于易宝支付的回调和跨域请求
此次开发是基于小京东商城的开发(ecshop) 1.在支付的SDK里面有个call_back文件,支付的文档里面有个notify参数,里面的地址就写成能访问到call_back.php文件就行,切记,一定要是能访问到此地址 2.易宝支付的服务器会发送一个response参数还有另外一个参数,忽略,response参数里面有所有的订单信息附上代码 define('IN_ECS', true); include (dirname(__FILE__)."/includes/modules/payment/conf.php"); require_once (dirname(__FILE__)."/includes/modules/payment/yibao/YopClient.php"); require_once (dirname(__FILE__)."/includes/modules/payment/yibao/YopClient3.php"); require_once (dirname(__FILE__)."/includes/modules/payment/yibao/Util/YopSignUtils.php"); require (dirname(__FILE__) . '/includes/init.php'); //结果通知返回原文数据 function