Reply
Member
Posts: 6
Registered: ‎03-27-2011
Accepted Solution

Split Invoice problem

Authorize.net is rejecting subsequent invoices after the first capture....The overall steps in an example are:
Step 1:  Authorize <profileTransAuthOnly> $409.95
Step 2:  Capture <profileTransPriorAuthCapture> $309.95
Step 3:  Capture <profileTransPriorAuthCapture> $100

The first capture is succesful, but the remaining reports 'This transaction has already been captured.'...Below are all the relevant XML submissions and responses...

Any idea why I can't effectively split invoice?

thanks,
Eric

$409.95 Authorized:  (resulting in This transaction has been approved. )

2011-05-27T18:09:53+00:00 INFO (6): XML Sent: <?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><merchantAuthentication><name>xxxxxxxx</name><transactionKey>xxxxxxxxxxxx</transactionKey></merchantAuthentication><transaction><profileTransAuthOnly><amount>409.95</amount><customerProfileId>3730058</customerProfileId><customerPaymentProfileId>3304055</customerPaymentProfileId><order><invoiceNumber>100000089</invoiceNumber></order></profileTransAuthOnly></transaction></createCustomerProfileTransactionRequest>
<?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>1,1,1,This transaction has been approved.,COMD9E,Y,2160283508,100000089,,409.95,CC,auth_only,25,Eric30,Levine30,,333 Corey Lane,Highland Park,Illinois,60035,US,847-555-5555,,ericlevine30@gmail.com,,,,,,,,,,,,,,A436FE4BEE3EAF85FDD93E1BAF15AF1F,,2,,,,,,,,,,,XXXX1111,Visa,,,,,,,,,,,,,,,,</directResponse></createCustomerProfileTransactionResponse>
2011-05-27T18:09:53+00:00 INFO (6): STATUS CODE = I00001 - Ok - Successful.

$309.95 Captured: (resulting in This transaction has been approved. )
2011-05-27T20:19:08+00:00 INFO (6): XML Sent: <?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><merchantAuthentication><name>xxxxxxxx</name><transactionKey>xxxxxxxxxxxx</transactionKey></merchantAuthentication><transaction><profileTransPriorAuthCapture><amount>309.95</amount><customerProfileId>3730058</customerProfileId><customerPaymentProfileId>3304055</customerPaymentProfileId><transId>2160283508</transId></profileTransPriorAuthCapture></transaction></createCustomerProfileTransactionRequest>
<?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>1,1,1,This transaction has been approved.,COMD9E,P,2160283508,100000089,,309.95,CC,prior_auth_capture,25,,,,,,,60035,,,,,,,,,,,,,,,,,,12E43298E0F66C8AD82AA12EDEDB7A23,,,,,,,,,,,,,XXXX1111,Visa,,,,,,,,,,,,,,,,</directResponse></createCustomerProfileTransactionResponse>
2011-05-27T20:19:08+00:00 INFO (6): TransID = 2160283508
2011-05-27T20:19:08+00:00 INFO (6): STATUS CODE = I00001 - Ok - Successful.

remainder $100 capture:   (resulting in This transaction has already been captured. )
2011-05-27T20:19:38+00:00 INFO (6): XML Sent: <?xml version="1.0" encoding="utf-8"?>
<createCustomerProfileTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><merchantAuthentication><name>xxxxxxxx</name><transactionKey>xxxxxxxxxxxx</transactionKey></merchantAuthentication><transaction><profileTransPriorAuthCapture><amount>100.00</amount><customerProfileId>3730058</customerProfileId><customerPaymentProfileId>3304055</customerPaymentProfileId><transId>2160283508</transId></profileTransPriorAuthCapture></transaction></createCustomerProfileTransactionRequest>
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>1,1,311,This transaction has already been captured.,,P,0,,,100.00,CC,prior_auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,66D04D900CE951606D574198B0BE7FEB,,,,,,,,,,,,,,Visa,,,,,,,,,,,,,,,,</directResponse></createCustomerProfileTransactionResponse>
2011-05-27T20:19:38+00:00 INFO (6): TransID = 0
2011-05-27T20:19:38+00:00 INFO (6): STATUS CODE = I00001 - Ok - Successful.           


Accepted Solutions
Solution
Accepted by topic author elreason4
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Split Invoice problem

[ Edited ]

Read

http://community.developer.authorize.net/t5/Integration-and-Testing/Split-Capture-Possible/m-p/3957

 

Basically, you can if you use CIM or if you are saving cc info(PCI compliance).

 

 

View solution in original post


All Replies
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Split Invoice problem

You can only have one PriorAuthCapture for each AuthOnly transaction.

Member
Posts: 6
Registered: ‎03-27-2011

Re: Split Invoice problem

Is there any way to split invoice/capture (capture the items when they ship, i.e. Authorize full order $409.95, and then split the captures...first $309.95 then the remaining $100?)

Solution
Accepted by topic author elreason4
‎08-21-2015 01:58 AM
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Split Invoice problem

[ Edited ]

Read

http://community.developer.authorize.net/t5/Integration-and-Testing/Split-Capture-Possible/m-p/3957

 

Basically, you can if you use CIM or if you are saving cc info(PCI compliance).

 

 

Member
Posts: 6
Registered: ‎03-27-2011

Re: Split Invoice problem

[ Edited ]

It is a CIM setup....(I am reviewing the link in the last post)...It appears I need to switch to <profileCaptureOnly> for the additional invoices......Hmmm...this may take some creativity...


Step 1:  Authorize $409.95  <profileTransAuthOnly>
Step 2:  Capture $309.95 <profileTransPriorAuthCapture>
Step 3:  Capture $100 <profileCaptureOnly>

 

thanks