PayPal:“项目类别值无效。仅允许数字或物理” - 在CreateRecurringPaymentsProfile上

时间:2011-09-06 11:02:03

标签: paypal paypal-sandbox

这是我的要求:

Array ( [METHOD] => CreateRecurringPaymentsProfile [VERSION] => 69.0 [PWD] => 1314109393 [USER] => redhot_1314109355_biz_api1.gmail.com [SIGNATURE] => AFcWxV21C7fd0v3bYYYRCpSSRl31AvgAV2SBYw.2L13vmrlieTUPAScT [TOKEN] => EC-8AD12321RD892010L [PROFILESTARTDATE] => 2011-10-10T03:00:00 [DESC] => Description: [BILLINGPERIOD] => SemiMonth [BILLINGFREQUENCY] => 1 [AMT] => 35 [CURRENCYCODE] => USD [EMAIL] => redhotberry@gmail.com [L_PAYMENTREQUEST_0_ITEMCATEGORY0] => Digital [L_PAYMENTREQUEST_0_NAME0] => BearPlan [L_PAYMENTREQUEST_0_AMT0] => 35 [L_PAYMENTREQUEST_0_QTY0] => 1 )

以下是回复:

Array ( [TIMESTAMP] => 2011-09-06T09:51:40Z [CORRELATIONID] => 8eb81baa4e80e [ACK] => Failure [VERSION] => 69.0 [BUILD] => 2085867 [L_ERRORCODE0] => 13701 [L_SHORTMESSAGE0] => Invalid Data [L_LONGMESSAGE0] => Item Category value is invalid. Only Digital or Physical are allowed. [L_SEVERITYCODE0] => Error ) ) 

1 个答案:

答案 0 :(得分:0)

您可能需要为' L_ITEMCATEGORY0'添加另一个字段,某些PayPal调用需要此字段。