<% function zero(x) if x < 10 then zero = "0" & x else zero = x end if end function set conn = Server.Createobject("adodb.connection") set rs = server.createobject("adodb.recordset") conn.open connstr if session("orderid") = "" then orderid="0" else orderid = session("orderid") end if if orderid = "0" then session("errmsg")="Your shopping cart is empty" response.redirect "http://www.spiritfitness.com/shop/form.asp" else rs.open "select * from orders where id = " & orderid, conn,3,1 if rs.eof then rs.close conn.close session("errmsg")="Order has not been created, can't update, please try again" response.redirect "http://www.spiritfitness.com/shop/abandon.asp" end if if rs("approved") then rs.close conn.close session("errmsg")="Order has been completed and paid for, can't update" response.redirect "http://www.spiritfitness.com/shop/abandon.asp" end if end if instructions=rs("instructions")&"" rs.close conn.close %>
Payment Info

Go back to shopping cart

<% if session("errmsg") <> "" then %>

Error: <% =session("errmsg")%>

<% session("errmsg")="" end if %>


Click here to pay with PayPal
The safer, easier way to pay.

 
 
* Card Type
* Card Number
* Expiration /
   
Comments
(if you have any special comments regarding the order)

   

Required fields indicated with an asterisk (*).