2012-07-17 35 views
1

我不确定descriptionlineitem之间有什么区别。订单项是以逗号分隔的产品购买清单吗?我想知道变量的最大长度和数据类型。此外,想知道用户信用卡声明,说明或lineitem中出现了哪些字段。不能找到任何好的文档。Authorize.Net AIM行项目和描述之间的区别

回答

0

描述是您对交易的描述。它可以是“第一次订阅付款”或“退还交易#123456”。它可能最多255个字符(无符号)。有关更多信息,请参阅AIM guide的第24页。

订单项用于添加用户购买的每件商品或服务。这包括名称,价格,数量等。基本上,您可以记录购买的内容。行项目具有以下格式:

x_line_item 
Optional 
Value: Any string 
Format: Line item values must be delimited by a bracketed pipe <|> 
Itemized order information 

Item ID<|> 
The ID assigned to an item. 
Format: Up to 31 characters 

<|>item name<|> 
A short description of an item. 
Format: Up to 31 characters 

<|>item description<|> 
A detailed description of an item. 
Format: Up to 255 characters 

<|>itemX quantity<|> 
The quantity of an item. 
Format: Up to two decimal places 
Must be a positive number 

<|>item price (unit cost)<|> 
Cost of an item per unit, excluding tax, freight, and duty. 
Format: Up to two decimal places 
Must be a positive number 
The dollar sign ($) is not allowed when submitting delimited information. 

<|>itemX 
taxable 
Indicates whether the item is subject to tax. 
Format: TRUE, FALSE, T, F, YES, NO, Y, N, 1, 0 

也不需要对将要处理的交易或出现在客户的信用卡对账单。两者都允许您在Authorize.Net帐户中更好地组织您的交易。

相关问题