Happy Business Starts Here

Highlighted
Support SME

How to resolve faultCode: BATCH_FAIL_ERROR when processing Payment via SOAP API

Question:

 

How do I resolve faultCode: BATCH_FAIL_ERROR when processing Payment via SOAP API?



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 REPLY 1
Support SME

Re: How to resolve faultCode: BATCH_FAIL_ERROR when processing Payment via SOAP API

Answer:

When this error is returned, you'll need to set useSingleTransaction to false, or alternatively remove the CallOptions part of your API call completely:

<CallOptions xmlns="http://api.zuora.com/" xmlns:ns2="http://object.api.zuora.com/" xmlns:ns3="http://fault.api.zuora.com/">
<useSingleTransaction>false</useSingleTransaction>
</CallOptions>



Supporting documents:
http://knowledgecenter.zuora.com/DC_Developers/SOAP_API/F_SOAP_API_Complex_Types/CallOptions



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √