[ic] 1: Limit subroutine creation, 2: Own payment method

jojo@buchonline.net jojo@buchonline.net
Fri, 13 Oct 2000 10:33:09 +0200 (CEST)

On 12 Oct, Michael Raps wrote:
> After setting up and configuring interchange (btw: great shop!) I
> am not able to place an order. I get the message "There were
> errors in your last submission. They are shown in RED below." But
> no field is shown in red. Instead the log sais:
> /cgi-bin/xxxshop/process.html search error: Limit subroutine
> creation: Can't use an undefined value as an ARRAY reference at
> /usr/lib/interchange/lib/Vend/Search.pm line 675.

Insert this code into your checkout page

[if type=explicit compare="[error all=1 show_var=1 keep=1]"]
[L]There were errors in your last submission[/L].
[L]They are shown in <FONT COLOR="RED">this color</FONT> below[/L].

[seti dummyerror][error all=1 show_var=1 keep=1 show_error=1][/seti]


The error was: [scratch dummyerror]

to see the error.
> The cataloge is a copy from "construct".
> What did I do (wrong)?
> Btw, I have another question:
> I want to setup an own payment method (German one) with no
> special application or function behind. Only a kind of text info.
> (For germans: Nachname). Has anyone done something like that and
> can give me a short instruction?
> Thanks 4 your reply!
> Michael

Do you mean, that this codes like

	<TD ALIGN="RIGHT" NOWRAP>[error name=fname std_label="[L]First Name[/L]" required=1]</TD>
        <TD><INPUT TYPE=text NAME=fname VALUE="[value fname]" size=20></TD>
	<TD ALIGN="RIGHT" NOWRAP>[error name=lname std_label="[L]Last Name[/L]" required=1]</TD>
        <TD><INPUT TYPE=text NAME=lname VALUE="[value lname]" size=20></TD>

in your checkout page

Name: [value fname] [value lname]

in your report file

<font face="Verdana, Arial, Helvetica, sans-serif" size="2"><B>Name</font>	<font face="Verdana, Arial, Helvetica, sans-serif" size="2">[value fname] [value lname]</font>

in your receipt page

has to print out "Nachname" instead of "Last Name"?

Edit the file "locale.txt" and insert a line like

code<TAB>   en_US<TAB>     de_DE<TAB>    fr_FR
January<TAB>   <TAB>       Januar<TAB>   Janvier
Last Name<TAB>  <TAB>      Nachname<TAB>  xyz nome????

Donīt forget to switch the locale (See the doc about "Localization").


Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671441
45886 Gelsenkirchen         FAX: 0209 1671441