|
|
 |  |
Re: Customer web Interface problem: Edit informationFrom: Shawn Hogan Date: Saturday, March 2, 2002
Time: 3:21:41 pmAlan Williamson wrote:
> We run a slightly modified version of the standard web templates, so when
> I had reports last week that customers couldn't update their account
> information online, I figured I'd managed to break something stemming from
> the security updates. I looked and couldn't find any material difference
> between our code and the shipped code, ran out of time and decided I'd
> take a look at it again in 2.9.4.
>
> The upgrade is now in place, and I still can't make it work - even with
> the standard (ie unmodified) templates provided. There are two obvious
> problems:
>
> 1. When a customer hits the "sbumit" button on the edit info page, they
> get "No records found: Modify your search criteria and try again"
Ick. aside from the XML exploit stuff, I changed the web pages themselves to
store the user's password encrypted (so you can't see it when viewing the
source of the page). I forgot to pass it through the decrypter when
finished updating a customer. It has been fixed now though.
> 2. All of the customer's information is displayed correctly on the edit
> screen, except for their credit card expiry date which always shows
> "January" and "2002". As these are the first values in the option lists,
> I'm assuming that means that the expiry date isn't being retrieved from
> the database properly.
In the edit.txt format file, change this:
<TD>
<FONT SIZE=-1>Expiration Date:</FONT><BR>
<SELECT NAME="Credit Card Exp Date 1">
<OPTION VALUE="01">January<OPTION VALUE="02">February<OPTION
VALUE="03">March<OPTION VALUE="04">April<OPTION VALUE="05">May<OPTION
VALUE="06">June<OPTION VALUE="07">July<OPTION VALUE="08">August<OPTION
VALUE="09">September<OPTION VALUE="10">October<OPTION
VALUE="11">November<OPTION VALUE="12">December
</SELECT>
<BR>
<SELECT NAME="Credit Card Exp Date 2">
<OPTION VALUE="02">2002<OPTION VALUE="03">2003<OPTION VALUE="04">2004<OPTION
VALUE="05">2005<OPTION VALUE="06">2006<OPTION VALUE="07">2007<OPTION
VALUE="08">2008<OPTION VALUE="09">2009<OPTION VALUE="10">2010<OPTION
VALUE="11">2011<OPTION VALUE="12">2012
</SELECT>
</TD>
back to this (it's also changing in the default files):
<TD>
<FONT SIZE=-1>Expiration Date:</FONT><BR>
<INPUT TYPE="text" NAME="Credit Card Exp Date 1" VALUE="[FMP-Field: Credit
Card Exp Date 1]" SIZE=2 MAXLENGTH=2><INPUT TYPE="text" NAME="Credit Card
Exp Date 2" VALUE="[FMP-Field: Credit Card Exp Date 2]" SIZE=2 MAXLENGTH=2>
</TD>
- Shawn
-------------------------------
Shawn D. Hogan
President, Digital Point Solutions
http://www.digitalpoint.com
(858) 452-3696
---------------------------------------------------
To subscribe, unsubscribe or to search list archive
please visit http://www.optigold.com/lists/isp.html
---------------------------------------------------
|

Return to Digital Point Solutions' Home Page |