Authorize.Net API没有响应

时间:2018-05-01 16:05:57

标签: codeigniter-3 authorize.net

突然间,我过去几年使用的代码现在开始抛出错误。我正在使用codeigniter php框架。

无法弄清楚发生了什么。

A PHP Error was encountered
Severity: Notice

Message: Undefined property: AuthorizeNetTD_Response::$xpath_xml

Filename: shared/AuthorizeNetXMLResponse.php

Line Number: 54

Backtrace:

File: /home/directpr/public_html/reports/new/application/lib/shared/AuthorizeNetXMLResponse.php
Line: 54
Function: _error_handler

File: /home/directpr/public_html/reports/new/application/controllers/Collectionupdate.php
Line: 258
Function: xpath

File: /home/directpr/public_html/reports/new/index.php
Line: 292
Function: require_once


Fatal error: Uncaught TypeError: Argument 1 passed to CI_Exceptions::show_exception() must be an instance of Exception, instance of Error given, called in /home/directpr/public_html/reports/new/system/core/Common.php on line 658 and defined in /home/directpr/public_html/reports/new/system/core/Exceptions.php:190 Stack trace: #0 /home/directpr/public_html/reports/new/system/core/Common.php(658): CI_Exceptions->show_exception(Object(Error)) #1 [internal function]: _exception_handler(Object(Error)) #2 {main} thrown in /home/directpr/public_html/reports/new/system/core/Exceptions.php on line 190
A PHP Error was encountered
Severity: Error

Message: Uncaught TypeError: Argument 1 passed to CI_Exceptions::show_exception() must be an instance of Exception, instance of Error given, called in /home/directpr/public_html/reports/new/system/core/Common.php on line 658 and defined in /home/directpr/public_html/reports/new/system/core/Exceptions.php:190 Stack trace: #0 /home/directpr/public_html/reports/new/system/core/Common.php(658): CI_Exceptions->show_exception(Object(Error)) #1 [internal function]: _exception_handler(Object(Error)) #2 {main} thrown

Filename: core/Exceptions.php

Line Number: 190

Backtrace:

1 个答案:

答案 0 :(得分:0)

解决了这个问题。这是Authorize的一个问题,作为解决方案,我们已将实时网址更改为http://php.net/manual/en/function.base64-encode.php