- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AIM and Split Tender Transactions
Hi,
I hope this doesnt sound like a stupid question, but is it possible to have split tender transactions in a card-not-present, adavanced integration method environment? I would like to allow the consumer to use more than one card per transaction .
Thanks for your help!
โ07-11-2013 01:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. it work for both.
โ07-11-2013 01:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! Do you have a sample of what the code would look like for 2 cards? I would really appreciate it.
โ07-11-2013 07:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry. I don't, maybe someone else would post their.
โ07-12-2013 04:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
โ09-05-2013 07:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I got it by reading response XML:
private String getSplitTenderId(Result<Transaction> result) {
return (null == result ? null : BasicXmlDocument.getElementText(result
.getTarget().getCurrentResponse().getDocumentElement(),
"SplitTenderID"));
}
โ09-11-2013 08:00 AM - edited โ09-11-2013 08:01 AM