2014-03-03 38 views
1

我使用的是Authorize.NET PHP SDK。我已经添加下面的代码来验证码CVVAuthorize.NET CVV验证

$auth = new AuthorizeNetAIM; 
$auth->amount = $amount; 
$auth->card_num = $cc; 
$auth->exp_date = $expiry_date; 
$auth->x_card_code = $cc; 

,但现在我得到以下异常:

Error: Uncaught exception 'AuthorizeNetException' with message 'Error: no field x_card_code exists in the AIM API. 

如何验证CVV?

回答

3

我使用了错误的字段名称,它的card_code不是x_card_code。

相关问题