<%@ Language=VBScript %> <%Option Explicit Response.Buffer=True Response.CacheControl = "no-cache" On Error Resume Next dim PAGE_NAME PAGE_NAME = "store_download.asp"%> <% dim mode dim orderID dim bInvalid dim bBadOrderID dim bOrderNotFound dim bNoDigiDL dim objRS_Digi mode = Request("mode") orderID = trim(Request("txtOrderID")) If len(orderID) = 0 Then orderID = trim(Request("tx")) ' see if user completed paypal checkout. Paypal will send Transaction ID as GET request in variable "tx" If mode="submit" Then If len(orderID) < 1 OR len(orderID) > 20 Then bInvalid = True bBadOrderID = True Else set objRS_Digi = Get_ORDER_DETAIL_By_ORDER_ID(orderID) If Err.Number <> 0 Then Log_Error Err.Number, Err.Source, Err.Description End If If objRS_Digi.BOF AND objRS_Digi.EOF Then bInvalid = True bOrderNotFound = True End If set objRS_Digi = nothing set objRS_Digi = Check_DIGI_DOWNLOAD(orderID) If Err.Number <> 0 Then Log_Error Err.Number, Err.Source, Err.Description End If If objRS_Digi.BOF AND objRS_Digi.EOF Then bInvalid = True bNoDigiDL = True End If set objRS_Digi = nothing End If If not bInvalid Then server.Transfer "store_download2.asp" End If Else If len(orderID) > 0 Then If len(orderID) > 20 Then Response.Redirect "store_download.asp" End If End If End If %> Rivalry Records

<% If len(trim(Request("tx"))) > 0 Then 'Paypal transaction complete%>
ORDER# <%=orderID%> COMPLETE!
Thank you for your order, your transaction is complete! Your order number is <%=orderID%> and a receipt for your purchase has been emailed to the email address that you have registered with paypal.

If you have purchased any music from us, you are entitled to a free download of all titles purchased (this includes any format - digital, vinyl, and/or CD)! Simply enter your Order Number in the box below and continue on to download your music! NOTE: Pre-orders are not available for download until the release date of the album. Please save your order number and return on the release date to download your pre-order.

<% End If %>
DIGITAL DOWNLOAD
<% If bInvalid Then %> <% If bBadOrderID Then %> You entered an invalid ORDER ID. Please try again. <% ElseIf bOrderNotFound Then %> We were unable to locate an order with this ORDER ID. <% ElseIf bNoDigiDL Then %> We found your order, but your order did not include any available digital downloads. <% Else %> Unknown Error occurred. <% End If %>

<% End If %> To download your music (CD, vinyl, digital download - any music you purchased), simply enter your ORDER NUMBER from your Rivalry webstore order. You will only be allowed to download the files one time, so please make sure you have a stable internet connection before downloading!



HINT: Your Order Number was provided in the email confirmation you received from Rivalry. It is not the Paypal "Receipt Number". The email was sent to the email address you have on file with Paypal. If you do not remember receiving an email from us, please double-check the inbox of the email account on file with Paypal.

If you are still having problems, please contact us.

 

<% %>