Support for split tender transactions is a new requirement for AIM.
Is it also required with CIM and if so, how to you trigger CIM to return a split tender id in the developer test environment when using createCustomerProfileTransaction?
Solved! Go to Solution.
โ02-07-2011 02:10 PM
It work fine for me with the paymentprofileid zip at 46225
Input
<?xml version="1.0" encoding="utf-16"?> <createCustomerProfileTransactionRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication> <name>xxxxxxx</name> <transactionKey>xxxxxxxx</transactionKey> </merchantAuthentication> <transaction> <profileTransAuthOnly> <amount>15.00</amount> <customerProfileId>xxxxx</customerProfileId> <customerPaymentProfileId>xxxxxx</customerPaymentProfileId> <order> <invoiceNumber>inv1441172349</invoiceNumber> <description>Example item</description> </order> </profileTransAuthOnly> </transaction> <extraOptions>x_allow_partial_auth=TRUE</extraOptions> </createCustomerProfileTransactionRequest>
Result
<?xml version="1.0" encoding="utf-8"?><createCustomerProfileTransactionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Ok</resultCode><message><code>I00001</code><text>Successful.</text></message></messages><directResponse>4,1,295,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.,PVBK7T,Y,2157417135,inv1963674860,Example item,1.23,CC,auth_only,a2a,April,Fool,,1219 LaDecember Road,somecity,CA,46225,US,,,test@abc.com,,,,,,,,,,,,,,5A947A90FB619C899BC0C73AAF8C73C5,,2,,,,,,,,,,,XXXX1111,Visa,102473,15.00,,,,,,,,,,,,,,</directResponse></createCustomerProfileTransactionResponse>
AuthCapture work too.
โ02-08-2011 05:31 AM - edited โ02-08-2011 05:36 AM
There is an extraOptions field for createCustomerProfileTransaction where you can set x_allow_partial_auth=TRUE
โ02-07-2011 04:18 PM
Thanks, I've included this field in my createCustomerProfileTransaction and it is associated with a CIM account that was created with this zip: 46225. According to this
That zip code should trigger an authorized amount of $1.23, but I always just get an approval.
I also tried sending this:
What sequence of requests would I make to CIM in order to trigger a partial authoriziation?
Thanks-
Staci
โ02-07-2011 05:20 PM
It work fine for me with the paymentprofileid zip at 46225
Input
<?xml version="1.0" encoding="utf-16"?> <createCustomerProfileTransactionRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication> <name>xxxxxxx</name> <transactionKey>xxxxxxxx</transactionKey> </merchantAuthentication> <transaction> <profileTransAuthOnly> <amount>15.00</amount> <customerProfileId>xxxxx</customerProfileId> <customerPaymentProfileId>xxxxxx</customerPaymentProfileId> <order> <invoiceNumber>inv1441172349</invoiceNumber> <description>Example item</description> </order> </profileTransAuthOnly> </transaction> <extraOptions>x_allow_partial_auth=TRUE</extraOptions> </createCustomerProfileTransactionRequest>
Result
<?xml version="1.0" encoding="utf-8"?><createCustomerProfileTransactionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Ok</resultCode><message><code>I00001</code><text>Successful.</text></message></messages><directResponse>4,1,295,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.,PVBK7T,Y,2157417135,inv1963674860,Example item,1.23,CC,auth_only,a2a,April,Fool,,1219 LaDecember Road,somecity,CA,46225,US,,,test@abc.com,,,,,,,,,,,,,,5A947A90FB619C899BC0C73AAF8C73C5,,2,,,,,,,,,,,XXXX1111,Visa,102473,15.00,,,,,,,,,,,,,,</directResponse></createCustomerProfileTransactionResponse>
AuthCapture work too.
โ02-08-2011 05:31 AM - edited โ02-08-2011 05:36 AM
Great - it's working for me now too. Thank you for the example.
โ02-08-2011 06:36 AM
I am using CIM sample code Approach but didn't find split_tender_id for multiple capture in response .
In response I got "transaction id" , "aproval code", "card type" "CC" .
I passed parameter are as follows to get reponse:
1) Login_Id
2) Transaction_Key
3) profile_id
4) payment_ profile_id
5) amount
6) order_invoiceNumber
please let me know if extraoptions like "x_allow_partial_auth=TRUE" is necessary to get split_tender_id
and to pass extraoptions as parameter Am i need to use "CreateCustomerProfileTransactionResponseType" class?
โ02-01-2013 04:08 PM
please let me know if extraoptions like "x_allow_partial_auth=TRUE" is necessary to get split_tender_id
and to pass extraoptions as parameter
yes
โ02-01-2013 04:20 PM
Thanks for your help ,another issue is that now our approach is changed, we need to authorize full amount and after that we need to capture the autorized amount multiple times (Partial Capture ) and after that we refund multiple times but while proceeding on this i am not gettting split tender id and didn't find any Class variable to pass SplitTenderId.
Is here any problem regarding version ?
โ02-03-2013 03:50 AM
we need to authorize full amount and after that we need to capture the autorized amount multiple times (Partial Capture ) and after that we refund multiple times
There is no partial Capture, just partial Authorization.
โ02-03-2013 03:55 AM
Thanks a lot to update me...
โ02-06-2013 10:34 AM