Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 12, 2008 09:48 PM by admob
Jan 23, 2008 10:43 PM|LINK
Also the website is integrated into WorldPay, i can see that there is a IPN.aspx file although it only has reference to a dll and no content. Therefore does this mean that data with regards to the packages for
payment processing is within this dll? If so can anyone suggest how this may be edited as i can only view them with Visual Studio and not edit or see any data? As i did not create the site i also have no .vb files etc and only the compiled website as you would
find it on the ftp.
Jan 24, 2008 12:00 AM|LINK
Welcome to asp. and first off you should know that the original classifieds starter kit does not come with any payment processing.
Your client has added the reference to WorldPay. So I have no idea there.
As far as the packages or AdTypes it's referenced in two main places.
First in App_Code/Web/Outputformatting file, and also at the top of App_Code/BLL/Ads.vb (Ads.cs if you use Csharp)
As for the max pics, there are two places, first when the app runs it looks for a .xml file. If the app cannot find or access the .xml file it then uses the default.
I had to move the site-config.xml file but I think the original location was in the App_Data folder.
The default backup, is in App_Code/BLL/SiteSettings.vb
Good luck and if you have any more questions don't hesitate to ask.
Jan 24, 2008 01:44 PM|LINK
I've done similar things in my website www.love2trade.com , I however developed all the extras myself so I can give you some insight on the thought process that I went through but that does not guarantee that this
is how it was coded on your website.
Regarding the packages. I would start off by looking at the database... sometimes its helpful to go the SQL Server 2005 "Database Diagrams" and print a database schema layout. This will give you a global view for all your tables/fields and their relationships
(assuming FKs & PKs are set correctly).
I would assume that there "should" be a table that contains package information for each package, i hope its not hardcoded :).
There should be a cross reference table that maps each ad to an ad package. The way i have it designed in my website is that i have a designer class that is responsible for knowing the attributes of each ad (design, duration..etc). I would think that this
is probably how its done.
Regarding WorldPay, the dll is your API library, you will not be able to see code for it (You dont need to). But if you see no reference for prices / content in general then i would assume that these prices are pre-defined in your account with worldpay...and
when a user is checking out from the website, you simple tell worldpay to charge for package #1, #2, or #3 depending on what the user selects.
You'll probably get more info on WP's documentations on integrating with ASP.NET i bet it will explain how exactly the dll work.
Im sorry but without knowing the code thats the best i can do.
Hope that helps. Good Luck
** You guys are sure charging good money for these ads :)
Jan 24, 2008 11:06 PM|LINK
Thankyou for your response,
The issue i have as mentioned is that i only have site as you would expect to take it of the ftp already compiled. Therefore i do not have the App_Code and thus the .vb files?
Jan 24, 2008 11:16 PM|LINK
Lovely site! Many thanks for your response also.
I have checked again and there is not a table with the package information and it must of been coded. The only mention in the database is in
classifieds_Ads it has a column
AdOption that is set to 1,2 or 3 (corresponding to the 3 packages option for each ad).
Any idea were the information may be if not in the database?
With WorldPay i have looked in the account and no mention other than the callback file etc and a few settings. It does show it is integrated using Select Junior so that means that the information is being sent
using a form to create a ticket. Although this form is nowhere to be found!
Within the MyAds.aspx is the link that the user clicks redirecting to WorldPay, the only mention within this file is the following:
<asp:ImageButton ID="payNow" runat="server" AlternateText="Pay Now!"
OnClick="payNow_Click" ImageUrl="<%# PayNowImageURL %>"
CommandArgument='<%# Eval("Id") %>' />
The payNow_click is linking to something that must contain the information?
I understand that you do not know the code and is hard to understand and help, but any guidance is much appreciated.
Jan 25, 2008 12:55 AM|LINK
I think you are going to find problem after problem until you get all the files.
Tell your client you need him to put them into a zip file for you.
If you're interested in what the original classifieds starter kit works like, I would suggest downloading a copy.
I really think you are going to need to get the whole app, not just off of ftp.
Jan 25, 2008 02:08 AM|LINK
Im assuming when you say "take it of the ftp already compile", you mean that the whole website is pre-compiled.
This means you can do basicly nothing...
Its like somebody giving you an PROGRAM'S EXE and tells you to make modifications to the program.
It does seem like the prices are hardcoded if its not in the application config file (xml).
You will definetly need the source if you need to make any changes.
Jan 30, 2008 04:58 PM|LINK
Many thanks for your replies,
I now have managed to get the full code out of him and have found the max pics, prices etc in Ads.cs.
As i mentioned i have moved the site from its old host and all appeared to be working great, although an issue has appeared with WorldPay it terms of the user pays, it takes the money etc, although its not activating the ad and posting back, although nothing
has been edited from the old host were it worked. Any ideas were to look and what could cause this? There is an issue with the e-mails are not working properly unless this could be why?
Does anyone know what server and port would need to be set to for GoDaddy hosting:
<network host="" port="25" defaultCredentials="true" userName="username" password="password"/>
Jan 30, 2008 08:33 PM|LINK
As far as the email, I use godaddy and your settings are close, try this.
That's the setting for basic smtp with godaddy, and I set up in the site settings where to send on reply, and the above works fine.
Jan 30, 2008 08:56 PM|LINK
It's possible that somewhere worldpay is still posting back to the old host.
I'm interested to know more regarding that postback functionality...I know with google, you can specify a url that they can post back to.