I first try to get credit card authorization. If it fails, I let the customer know there was a problem and I invite them to try again with RFA.checkoutAgain. If auth succeeds, I call qryInsertOrder.cfm to add an order,
I show the order summary (qryGetCartSummary.cfm and qrymyShippingInfo.cfm) and thank them for their business. I also email an order summary to them and then an order summary to each of the developers who had items in their order. Finally, I clear out the cart (qryClearCart.cfm) and delete the cookie.cartID and the cookie.ShoppingInfo.
|| ATTRIBUTES ||
--> RFA.failure: a FUSEACTION
--> shipMethod: a STRING ( GNDCOM | 2DA | 1DA )
--> ccType: a STRING ( ax | mc | visa | discover )
--> ccNumber: a STRING
--> ccExpirationMonth: a STRING (01 thru 12)
--> ccExpirationYear: a STRING (2000 thru 2005)
--> ccNameOnCard: a STRING
--> shipping: a NUMBER
--> tax: a NUMBER
--> cartSummary: a NUMBER
<-> fatherID: a STRING on RFA.failure
<-> fatherType: a STRING on RFA.failure
++> cartID: a COOKIE PRIMARY KEY from Carts table
++> ShippingInfo: a COOKIE WDDX packet of shipping info
+++ qryGetCartSummary.cfm
+++ qrymyShippingInfo.cfm
+++ qryInsertOrder.cfm
+++ qryClearCart.cfm
+++ incHeader.cfm
+++ incFooter.cfm
+++ PaymentNet: a CFX tag to communicate withe creditcard auth.