Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 08-03-2001 12:08:19

amd
Member
Registered: 07-16-2001
Posts: 8

Online Processing - Spaces in code

When I link to my payment processor (WorldPay) the code being passed is as follows:

<INPUT TYPE="HIDDEN" NAME="instId" VALUE="xyz
">
<INPUT TYPE="HIDDEN" NAME="desc" VALUE="Online Order
">
<INPUT TYPE="HIDDEN" NAME="currency" VALUE="GBP
">
<INPUT TYPE="HIDDEN" NAME="testMode" VALUE="100
">

Because of the spaces/new line after the value for instId, WorldPay cannot read this value correctly.  How can I get rid of the spaces?  It should read:

<INPUT TYPE="HIDDEN" NAME="instId" VALUE="xyz">

Thanks in advance for any help!

Offline

 

#2 08-15-2001 09:33:41

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Online Processing - Spaces in code

Sounds like a problem with the datafiles having a space on the end of each line.  Check the files in:

./data/online_process/*.db to be sure there aren't any trailing spaces on the lines or extra newlines.  As an alternative to checking this out, just upload a new batch of online_processing datafiles to that dir from your install file.  Make sure you set perms to 0777 and reset you online processing settings if you do this.


Nick Hendler

Offline

 

Board footer