Php 使用ARB授权.net更新重复计费

Php 使用ARB授权.net更新重复计费,php,xml,authorize.net,Php,Xml,Authorize.net,如果数据字段为空,Authorize.net ARP API是否接受XML数据?我们需要所有XML元素上的数据吗 我使用以下XML更新订阅 <?xml version="1.0" encoding="utf-8"?> <ARBUpdateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication> <name>4

如果数据字段为空,Authorize.net ARP API是否接受XML数据?我们需要所有XML元素上的数据吗

我使用以下XML更新订阅

<?xml version="1.0" encoding="utf-8"?>
<ARBUpdateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
  <merchantAuthentication>
    <name>435345345345</name>
    <transactionKey>sdfsdfsdfsdf</transactionKey>
  </merchantAuthentication>
  <refId>155969e50PGj</refId>
  <subscriptionId>234324</subscriptionId>
  <subscription>
    <amount>75</amount>
    <customer>
      <id>155969</id>
      <email></email>
      <phoneNumber></phoneNumber>
    </customer>
    <billTo>
      <firstName></firstName>
      <lastName></lastName>
      <company></company>
      <address></address>
      <city></city>
      <state></state>
      <zip></zip>
      <country></country>
    </billTo>
    <shipTo>
      <firstName></firstName>
      <lastName></lastName>
      <company></company>
      <address></address>
      <city></city>
      <state></state>
      <zip></zip>
      <country></country>
    </shipTo>
  </subscription>
</ARBUpdateSubscriptionRequest>

请求中的其他XML需要ARBUpdateSubscriptionRequest


mytestacct
112223344
样品
100748
4111111111111111
2010-08
<?xml version="1.0" encoding="utf-8"?>
<ARBUpdateSubscriptionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
  <refId>155969e50PGj</refId>
  <messages>
    <resultCode>Error</resultCode>
    <message>
      <code>E00014</code>
      <text>Bill-To First Name is required.</text>
    </message>
    <message>
      <code>E00014</code>
      <text>Bill-To Last Name is required.</text>
    </message>
  </messages>
</ARBUpdateSubscriptionResponse>