notify_url.php 403 B

1234567891011
  1. <?php
  2. define("FILE_PATH", "/callback/payment"); //文件目录
  3. require_once dir(__FILE__) . '../system/system_init.php';
  4. require_once APP_ROOT_PATH . "system/payment/Wxjspay_payment.php";
  5. $query = file_get_contents('php://input');
  6. $query = simplexml_load_string($query, 'SimpleXMLElement', LIBXML_NOCDATA);
  7. $query = json_decode(json_encode($query), 1);
  8. $o = new Wxjspay_payment();
  9. $o->notify($query);