Posting the actual error you get would be very helpful. Your subject line says "undefined". What is undefined?
On Thu, May 29, 2014 at 7:06 AM, Matthew Smith <chedders...@gmail.com> wrote: > > can figure this out. site cant take orders due to this. please help, > approaching burn out so i am misiing stuff... > > > <cfcase value="setpaymentmethod"> > <cfobject component="#request.cfcpath#qry-duplicate" name="qry" /> > <cfif attributes.paymentmethod eq "paypal"> > <cflock > name = "#application.applicationname#_item_access" > type="exclusive" > timeout="11"> > <cfset qry_cartcontents = qry.qry_paypallock_get( > app_user_id="#client.userid#" > ) /> > <cfobject component="#request.cfcpath#qry-duplicate" name="qry" /> > </cflock> > <cfset variables.merchandise_total = 0> > <!---!!!!!!HERE!!!!---!> > <cfset variables.qry_carttotals = qry_carttotals ( > cfuserid="#session.cfid#0#session.cftoken#" > ) /> > <cfdump var="#variables.qry_carttotals#"> > <cfabort> > <cfloop query="qry_cartcontents"> > <cfset variables.subtotal = 0> > <cfset variables.subtotal = qry_cartcontents.unitprice * > qry_cartcontents.cartquantity> > <cfset variables.merchandise_total = variables.merchandise_total + > variables.subtotal> > </cfloop> > <cfif variables.merchandise_total lt 100> > <cfset variables.shippingcost = "5.00"> > <cfset qry_orderInfoBufferbillingtype = qry.qry_orderInfoBufferEdit( > app_user_id="#client.userid#", > billingtype="paypal", > shippingMethod="Flat Rate Shipping", > shippingCost="#variables.shippingcost#" > ) /> > <cfelse> > <cfset variables.shippingcost = "0.00"> > <cfset qry_orderInfoBufferbillingtype = qry.qry_orderInfoBufferEdit( > app_user_id="#client.userid#", > billingtype="paypal", > shippingMethod="Free Shipping", > shippingCost="#variables.shippingcost#" > ) /> > </cfif> > <cfmodule > fuseaction="#fusebox.thiscircuit#.usepaypal" > suppresslayout="1" > template="#fusebox.rootpath##modself#" > cfid="#cfid#" cftoken="#cftoken#"> > <cfelseif attributes.paymentmethod eq "classic"> > <cfset qry_orderInfoBufferbillingtype = qry.qry_orderInfoBufferEdit( > app_user_id="#client.userid#", > billingtype="classic" > ) /> > <cfinclude template="url_thisCircuit_returnFuseAction.cfm"> > </cfif> > </cfcase> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:370564 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm