Authorize.net CIM 返回空白响应
Authorize.net CIM returning blank response
我正在为 Authorize.net CIM 使用 PHP SDK,但它突然停止工作。
它在创建客户资料时返回空白响应。我也尝试更新证书文件,但没有任何效果。
这是代码:
$authorizeNetCim = new AuthorizeNetCIM($clientRow->authorizenet_login_id, $clientRow->authorizenet_transaction_key);
$customerProfile = new AuthorizeNetCustomer;
$customerAddress = new AuthorizeNetAddress;
if (!$personRow->hasAuthorizenetProfileId()) {
$customerProfile->merchantCustomerId = $personRow->id;
$customerProfile->description = $personRow->getName();
$response = $authorizeNetCim->createCustomerProfile($customerProfile);
这是回复:
AuthorizeNetCIM_Response Object
(
[xml] =>
[response] =>
)
感谢任何帮助。提前致谢。
总之我已经找到问题所在了。必须重新启动 apache 才能使其正常工作。感谢:
我正在为 Authorize.net CIM 使用 PHP SDK,但它突然停止工作。 它在创建客户资料时返回空白响应。我也尝试更新证书文件,但没有任何效果。
这是代码:
$authorizeNetCim = new AuthorizeNetCIM($clientRow->authorizenet_login_id, $clientRow->authorizenet_transaction_key);
$customerProfile = new AuthorizeNetCustomer;
$customerAddress = new AuthorizeNetAddress;
if (!$personRow->hasAuthorizenetProfileId()) {
$customerProfile->merchantCustomerId = $personRow->id;
$customerProfile->description = $personRow->getName();
$response = $authorizeNetCim->createCustomerProfile($customerProfile);
这是回复:
AuthorizeNetCIM_Response Object
(
[xml] =>
[response] =>
)
感谢任何帮助。提前致谢。
总之我已经找到问题所在了。必须重新启动 apache 才能使其正常工作。感谢: