MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

cannot register transactions with CyberCash



Hi all.
This is my first time writing to the mailing list.

The answer to a problem I had with "Premature ending of script header" is
not well documented in the Minivend documents. I'd be happy to update that
part of the documentation if I can take care of the problem. Under "Using
CyberCash 3.2", it says, "MiniVend 3.11 supports CyberCash 3 with the
CCMckDirectLib3_2.pm CCMckLib3_2.pm modules. If those modules are in place
in your Perl include path (you can use VendRoot/lib as a home if you wish),
using CyberCash 3.2 is the same as with CyberCash 2 server..."

Well, I found in the mail list,
http://www.minivend.com/minivend/minivend-list/1999/msg04965.html
Patrick Schoonveld says to put 5 files:
(CCMckDirectLib3_2.pm    CCMckLib3_2.pm          CCMerchantTest.pm
CCMckErrno3_2.pm        CCMerchantCustom.pm)
in __VendRoot/lib, instead of only 2, which I did and it got rid of the
"Premature ending of script header.." error, (yes!) but now I get another I
got an "Order Failed" page generated by minivend. So I was happy to get past
one error, finally. Thank you Patrick if you find this.

To get rid of "Order failed", instead of just those 5 files, I put every
file from cybercash 3.2.0.4's perl-api directory (that's where I got the 5
files) into __VendRoot__/lib and it worked cleanly.

New Problem:
The program works cleanly. I get the Receipt page right after the checkout
page. But when I check CyberCash's Cash Register at
https://cr.cybercash.com, none of the transactions show up.

my settings are:
In the catalog.cfg file,
## Set these to enable CyberCash

# These are usually all you need for CyberCash 3
# Edit to suit
#
Variable     CYBER_CONFIGFILE    /to/my/mck/merchant_conf
Variable     CYBER_VERSION       3.2.0.4

# Use these instead for CyberCash 2
# Edit to suit
#
Variable     CYBER_PORT          8000
Variable     CYBER_HOST          localhost
Variable     CYBER_SECRET        test-secret-fdc
Variable     CYBER_MODE          mauthonly
Variable     CYBER_CURRENCY      usd
Variable     CYBER_PRECISION     2

CreditCardAuto  No
CyberCash    Yes

In the error.log, it says:
164.67.181.40 dtJXVyaB:164.67.181.40 - [30/August/1999:19:39:41 -0700]
Lanogin-S
tore /cgi-lanolin/Lanogin-Store/process Test CyberCash SetServer:
> host=localhost
> port=8000
> secret=test-secret-fdc
>
>
164.67.181.40 dtJXVyaB:164.67.181.40 - [30/August/1999:19:39:41 -0700]
Lanogin-S
tore /cgi-lanolin/Lanogin-Store/process Test CyberCash sendmserver:
> type=minivend_test
> Amount=usd 15.54
> Card-Address=123 somewhere
> Card-City=some city
> Card-Country=US
> Card-Exp=1/01
> Card-Name=someone
> Card-Number=4111111111111111
> Card-State=ca
> Card-Zip=90024
> Order-ID=19990831023900000
>
>
164.67.181.40 dtJXVyaB:164.67.181.40 - [30/August/1999:19:39:41 -0700]
Lanogin-S
tore /cgi-lanolin/Lanogin-Store/process Order id:
>                           1
>

With these settings, I get:
1. in the error, the above error messages
2. a clean process from checkout to receipt.
3. but nothing registered at cybercash.

I can see that when it says "type=Minivend_test" that's already wrong.

So, if I remark out using "#"
#Variable     CYBER_PORT          8000
#Variable     CYBER_HOST          localhost
#Variable     CYBER_SECRET        test-secret-fdc
and so on
I get "Order Failed" message.

If I don't remark them out and instead replace the variables:
Variable     CYBER_PORT          443
Variable     CYBER_HOST          www.lanolin.com
Variable     CYBER_SECRET        my secret
I get "Order Failed" message.

can anyone help?
I'm on:
RedHat Linux 5.2
Perl 5.004_05
Minivend 3.14-3
CyberCash 3.2.0.4

Sincerely,
Frank



Search for: Match: Format: Sort by: