0

我正在为 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] => 
)

任何帮助表示赞赏。提前致谢。

4

1 回答 1

1

无论如何,我已经弄清楚了这个问题。必须重新启动 apache 才能使其正常工作。感谢这个:https ://stackoverflow.com/a/26081579/6648864

于 2016-08-05T09:22:17.297 回答