Service Fees in Electronic Check Transactions : Processing a Service Fee

Processing a Service Fee
Service fees in electronic check transactions are processed in the following services:
Calculating the Service Fee
1
2
Debiting the Principal and Service Fee
1
You include the purchaseTotals_serviceFeeAmount field in your debit request.
Set this field to the value of the serviceFeeCalculateReply_amount field that you received in the service fee calculate reply message.
For information about creating a debit request, see Electronic Check Services Using the Simple Order API.
2
The principal amount is either the value of purchaseTotals_grandTotalAmount or the sum of the amounts for all of the items in the transaction.
3
4
5
6
Crediting the Principal and Service Fee
1
Sum of the amounts for all items in the transaction
ecCreditService_debitRequestID = request ID that was returned in the debit reply for the principal amount
Either the value of purchaseTotals_grandTotalAmount or the sum of the amounts for all the items in the transaction
For information about creating a credit request, see Electronic Check Services Using the Simple Order API.
2
3
If one credit fails and the other credit succeeds, CyberSource does not void the successful credit.
4
Voiding a Debit or Credit
You can void debits and credits.
For information about voiding debits and credits, see Electronic Check Services Using the Simple Order API.