我正在为 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] =>
)
任何帮助表示赞赏。提前致谢。