Edit 9/16/15 View the main article for this error here
Hello, if I have an SOP transaction, say an Invoice with a payment from say a website that already charged the card and I want to ensure that both the invoice AND the payment are created is it possible - maybe even required - to include the payment within the same eConnect xml document? I don't want either the invoice created without the payment or the payment hanging out there without the invoice. In other words, I want both included the same SQL transaction. Either both succeed together or both get rolled back.
So is it possible to say create the eConnect xml document like this:
<eConnect>
<SOPTransactionType>
<taSOPLineIvcInsert_Items>
</taSOPLineIvcInsert_Items>
<taSOPHdrIvcInsert>
</taSOPHdrIvcInsert>
</SOPTransactionType>
<RMCashReceiptsType>
</RMCashReceiptsType>
</eConnect>
Note both the <SOPTransactionType> and the <RMCashReceiptsType> wrapped in the same </eConnect> document.
Is this the correct way to do this?
Thanks.