I am dioing CP Split Tender Transactions and i could see the SplitTrederId in the response. See below.
<?xml version="1.0" ?><response><ResponseCode>4</ResponseCode><Messages><Message><Code>295</Code><Description><![CDATA[The amount of this request was only partially approved on the given prepaid card. An additional payment is required to fulfill the balance of this transaction.]]></Description></Message></Messages><AuthCode><![CDATA[CIG3S4]]></AuthCode><AVSResultCode>Y</AVSResultCode><CVVResultCode></CVVResultCode><TransID>2197999479</TransID><RefTransID></RefTransID><TransHash>DD826802CF0508503E51990DB0C2F76E</TransHash><TestMode>0</TestMode><UserRef></UserRef><AccountNumber>XXXX1111</AccountNumber><AccountType>Visa</AccountType><SplitTenderID>110762</SplitTenderID><PrepaidCard><RequestedAmount>50000.00</RequestedAmount><ApprovedAmount>1.23</ApprovedAmount><BalanceOnCard></BalanceOnCard></PrepaidCard></response>
But not able to get this value using API. below my code :
Result<Transaction> result = (Result<Transaction>) merchant
.postTransaction(authorizeTransaction);
log.debug("Split"
+ result.getTarget().getResponseField(
ResponseField.SPLIT_TENDER_ID)); --> this is returning me null.
I am using
import net.authorize.aim.Transaction;
import net.authorize.aim.cardpresent.Result;
to post a transaction and reading the result. Any input? thanks.