cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Split tender and CIM

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?

 


osyntax
Member
1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

9 REPLIES 9

There is an extraOptions field for createCustomerProfileTransaction where you can set x_allow_partial_auth=TRUE

RaynorC1emen7
Expert

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

page: http://community.developer.authorize.net/t5/Integration-and-Testing/Triggering-Specific-Transaction-...

That zip code should trigger an authorized amount of $1.23, but I always just get an approval.

 

I also tried sending this:

 

<extraOptions><![CDATA[x_allow_partial_auth=TRUE&x_zip=46225]]></extraOptions>

 

 

What sequence of requests would I make to CIM in order to trigger a partial authoriziation?

 

Thanks-

Staci

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.

Great - it's working for me now too. Thank you for the example.

 

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?

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

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 ?

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.

Thanks a lot to update me...