1

CIM のライブゲートウェイで顧客プロファイルを作成しようとしていますが、次のエラーで拒否されます: "E00027 There is one or more missing or invalid required fields" . これは私の要求です:

<?xml version="1.0" encoding="UTF-8"?>
<createCustomerProfileRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
   <merchantAuthentication>
      <name>-removed-</name>
      <transactionKey>-removed-</transactionKey>
   </merchantAuthentication>
   <profile>
      <description>Anush (4f293e17536e86bc66000000)</description>
      <email>anush@foobar.com</email>
      <paymentProfiles>
         <billTo>
            <firstName />
            <lastName />
            <company />
            <address />
            <city />
            <state />
            <zip>94111</zip>
            <country />
         </billTo>
         <payment>
            <creditCard>
               <cardNumber>-removed-</cardNumber>
               <expirationDate>2016-12</expirationDate>
               <cardCode>-removed-</cardCode>
            </creditCard>
         </payment>
      </paymentProfiles>
   </profile>
   <validationMode>liveMode</validationMode>
</createCustomerProfileRequest>

これは、「不足している、または無効な必須フィールドが 1 つ以上あります」という応答です。

<?xml version="1.0" encoding="UTF-8"?>
<createCustomerProfileResponse xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <messages>
      <resultCode>Error</resultCode>
      <message>
         <code>E00027</code>
         <text>There is one or more missing or invalid required fields.</text>
      </message>
   </messages>
   <customerPaymentProfileIdList />
   <customerShippingAddressIdList />
   <validationDirectResponseList>
      <string>3,1,290,There is one or more missing or invalid required fields.,,P,0,none,Test transaction for ValidateCustomerPaymentProfile.,0.00,CC,auth_only,,,,,,,,94111,,,,anush@xola.com,,,,,,,,,0.00,0.00,0.00,FALSE,none,F68A9C87C1E1472521704EF38C21F647,,,,,,,,,,,,,XXXX1234,Visa,,,,,,,,,,,,,,,,</string>
   </validationDirectResponseList>
</createCustomerProfileResponse>

応答のエラー コード290は、AVS (アドレス) 情報が不足していることを示します (ドキュメントから)。郵便番号はわかりましたが、請求先住所がわかりません。請求先住所を指定せずに顧客プロファイルを作成するにはどうすればよいですか?

これはすべて、サンドボックスの開発者モードでは機能しましたが、ライブ ゲートウェイでは失敗したようです。ここで何か助けていただければ幸いです。

ありがとう

ルシ

4

1 に答える 1

2

ZIP と住所を PaymentProfile に含める必要があります。

于 2015-03-04T09:06:33.547 に答える