【发布时间】:2013-09-18 04:13:33
【问题描述】:
我在 CIM(客户信息经理)工作,我使用 CIM 功能创建了客户资料。但我想使用客户 ID 而不是客户资料 ID 获取客户资料。
$cim = new AuthnetCIM('***MASKED***', '***MASKED***', AuthnetCIM::USE_DEVELOPMENT_SERVER);
$cim->setParameter('email', 'fakeemail@example.com');
$cim->setParameter('description', 'Profile for Joe Smith'); // Optional
$cim->setParameter('merchantCustomerId', '7789812');
//create profile function
$ss=$cim->createCustomerProfile();
//and get profile by..
$profile_id = $cim->getProfileID();
【问题讨论】:
标签: php payment-gateway payment authorize.net authorize.net-cim