cancel
Showing results for 
Search instead for 
Did you mean: 

Split Tender Transaction -- how to tell if transactions are related? (AIM)

Hi,

 

I have set up a website to allow up to 2 credit cards to be used per transaction.  I consulted the aim developer guide and followed the guideline for partial authorization/split tender transactions.  The transactions are going through but when i log into the customer account to look at the transactions, each transaction (card charged) has a unique ID and I cant figure out which transactions are related to each other.  

 

So, this is my question:

1.  Should the 2 cards that are used to cover the purchase both have the same transaction ID?  Or are they supposed to have different transaction ids?

2.  If they are supposed to have different transaction ids, then how are you supposed to know which cards were used to satisfy the order?

 

Thanks!

J

shiva3000
Contributor
9 REPLIES 9

1)transactionID would be different, split tender id would be the same

 

2)

On the merchant account, go into the transaction detail or unsettled detail the Order Number: xxxxxx is the x_split_tender_id

 

or you could use the Transaction Details API 

GetTransactionDetails to get the splitTenderId

 

Assume you are using AIM, you should save those info(transactionID, splittenderid) in your own database.

RaynorC1emen7
Expert

Hi,

 

Thanks for the advice!

 

Unfortunately, there is no order number for any of the transactions when I look them up in the merchant account section.  Do you mean the Invoice # under the Order Information section?  Because these are the details currently being displayed:

 

Settlement Information
Settlement Amount:USD 25.00
Settlement Date and Time: 
Authorization Information
Authorization Amount:USD 25.00
Submit Date /Time:21-Aug-2013 07:02:40 PDT
Authorization Code:K9J236
Reference Transaction ID:Not Applicable
Transaction Type:Authorization w/ Auto Capture
Address Verification Status:Street Address: Match Zip: Matched first 5 digits (Y)
Card Code Status:Not Processed
CAVV Result Code:Not Applicable
Fraud Score Applied:Not Applicable
Recurring Billing Transaction:N
Partial Capture Status:Not Applicable
Customer IP: 
Payment Information
Card Type:Discover
Card Number:XXXX0012
Expiration Date:XXXX
Total Amount:USD 25.00
Order Information
Invoice #: 
Description: 
Customer Billing Information
Name:John Doe
Company: 
Address:123 Four Street
City:San Francisco
State/Province:CA
Zip Code:94133
Country:US
Phone: 
Fax: 
Email:test@email.com
 
Customer ID: 
Customer Type: 
Customer TaxID/SSN: 
 
DL Number: 
DL State: 
DL DOB: 
Shipping Information
Name: 
Company: 
Address: 
City: 
State/Province: 
Zip Code: 
Country: 
Additional Details - Level 2 Data
Tax:0.00  
Freight:0.00  
Duty:0.00  
Tax Exempt:N
PO Number:

It should be right on top with a list of all transactionID within that split tender id.

 

Are you passing in the x_allow_partial_auth=TRUE

Hmmm...I have set it up (both in the code and the merchant account) and am retrieving the value of the split id and submitting it with the second card.

 

There is just no field or category in the merchant interface that seems to be keeping track of the values.

 

The 2 ways I know of is listed above.

 

So on top of  "Transaction Detail" page.above the void, capture, print, & close button there isn't anything?

 

Is that a test CC#?

The only fields I  have available above the print/close/void buttons are below.  I am using a test credit card to see if this is working.

 

 Transaction ID: 2197399966Create ARB Subscription from Transaction
Transaction Status: Settled Successfully

If you are using a test cc# on the test server, you need to do http://community.developer.authorize.net/t5/Integration-and-Testing/Triggering-Specific-Transaction-...

for split partial testing.

Thanks for sending along the link.  Now I can get one or the other card to work, but i cant seem to get both cards approved. There must be something wrong with my code.  Anyone know what i am missing?

 

if ($METHOD_TO_USE == "AIM") {
$transaction = new AuthorizeNetAIM;
$x_allow_partial_auth = true;
$transaction->setSandbox(AUTHORIZENET_SANDBOX);
$transaction->setFields(
array(
'amount' => $_POST['amount1'],
'card_num' => $_POST['x_card_num1'],
'exp_date' => $_POST['x_exp_date1'],
'first_name' => $_POST['x_first_name1'],
'last_name' => $_POST['x_last_name1'],
'address' => $_POST['x_address1'],
'city' => $_POST['x_city1'],
'state' => $_POST['x_state1'],
'country' => $_POST['x_country1'],
'zip' => $_POST['x_zip1'],
'email' => $_POST['x_email1'],
'card_code' => $_POST['x_card_code1'],
)
);
$response = $transaction->x_split_tender_id;
$transaction->setSandbox(AUTHORIZENET_SANDBOX);
$transaction->setFields(
array(
'amount' => $_POST['amount2'],
'card_num' => $_POST['x_card_num2'],
'exp_date' => $_POST['x_exp_date2'],
'first_name' => $_POST['x_first_name2'],
'last_name' => $_POST['x_last_name2'],
'address' => $_POST['x_address2'],
'city' => $_POST['x_city2'],
'state' => $_POST['x_state2'],
'country' => $_POST['x_country2'],
'zip' => $_POST['x_zip2'],
'email' => $_POST['x_email2'],
'card_code' => $_POST['x_card_code2'],
'split_tender_id' => $_POST['x_split_tender_id'],
)
);
$response = $transaction->authorizeAndCapture();
if ($response->approved) {
// Transaction approved! Do your logic here.

I only see one $transaction->authorizeAndCapture();