RE: Have a process object. You may be paying for various things - but there
is still one main payment process. Have that be it's own CFC.

Got it.  This makes sense.  However, wouldn't i still need to write this
code inside of the process object?

<cftransaction>
<cftry>
        <invoke ... method="receivePayment">
        <invoke ... method="matchInvoice">
        <invoke ... method="closeOrder">
        <cftransaction commit>
<cfcatch db><cftransaction rollback></cfcatch>
<cftry>
</cftransaction>


Or will I write directly to the db:

<cftransaction>
<cftry>
        <cfquery "receivePayment">
        <cfquery "matchInvoice">
        <cfquery "closeOrder">
        <cftransaction commit>
<cfcatch db><cftransaction rollback></cfcatch>
<cftry>
</cftransaction>


Thx!



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to