PayedNotifyV2.php 586 B

12345678910111213141516
  1. <?php
  2. //基于API V2模式的支付回调处理逻辑 xml
  3. defined('ONLY_ONLY_ONLY') or exit('Access Denied');
  4. define('LOG_CATALOG',"KLY_PayedNotifyV2");
  5. try{
  6. require_once WEB_PHY_ROOT."/base/wxsrv.php";
  7. weixin_payedNotifyV2(LOG_CATALOG,function($bizCatalog,$bizId,$array_result){
  8. $backdata = bizbase_paySuccess($bizCatalog, $bizId, false);
  9. });
  10. exit;
  11. }catch(Throwable $e){
  12. eeglobal_log_handler(LOG_CATALOG,"error","支付后回调处理异常:".$e->getMessage()." trace=>".$e->getTraceAsString());
  13. ob_clean();
  14. echo LOG_CATALOG."";
  15. exit;
  16. }