[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: CyberCash Problem
In your checkout page something like:
[set checkout_profile]
# need to check if this is a mail in or cybercash
[if value which =~ /mail/i]
[perl config]
$Safe{config}->{CreditCardAuto} = 1;
$Safe{config}->{CyberCash} = 0;
return '';
[/perl]
&set=mv_payment By Mail
[/if]
# else set up a cybercash process
[else]
[perl config]
$Safe{config}->{CreditCardAuto} = 0;
$Safe{config}->{CyberCash} = 1;
return '';
[/perl]
&set = mv_payment Cybercash Authorized ([default mv_credit_card_type])
[/else]
&final = yes
[/set]
You will have to change the [if value which =~ /mail/i]
line to match what you have set up to check wether
the customer wants to use Cybercash or just mail in
the order.
Another way to do it is to use 2 forms and 2 checkout profiles,
one for cybercash (same as your current one) and one that does
not include the cybercash settings.
Kyle
At 02:27 PM 8/23/99 -0600, you wrote:
>****** message to minivend-users from Cameron Prince
><PRINCECB@novachem.com> ******
>
>Hey guys,
>
>We setup our store and it has been working fine sending credit card numbers
>via e-mail and with "Will Call Payment Method" sales. We recently setup
>CyberCash and it appeared to be working fine until someone tried to do a
>"Will Call Payment Method" order. The user got an "Order Failed" message and
>there's nothing in either error.log. I went back and checked my
>configuration and it appears to be correct. Here's what I have:
>
>Variable CYBER_CONFIGFILE
>/home/sites/johnsonemuan/users/johnemusea/mvend/merchant.conf
>Variable CYBER_VERSION 3.2
>
>CreditCardAuto No
>CyberCash Yes
>
>I turned on debugging in CyberCash and I have found where the "Will Call"
>sale is trying to authorize via CyberCash and it returns the following error
>of course:
>
>MerchantAuth: Missing or empty mandatory field 'card-number'
>
>So the root problem is the checkbox for Payment Method: Will Call is not
>bypassing the CyberCash verification as it should.
>
>Can anyone give me any ideas on how to fix this?
>
>Thanks,
>
>Cameron B. Prince
>Site Specialist
>
>NOVA Chemicals
>Decatur, Alabama
>
>Voice: (256) 306-4881
>FAX: (256) 306-4880
>Cellular: (256) 227-1238
>
>-
>To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list
http://www.invisio.com
Web site design, database driven sites,
and shopping cart programming.
Great sites, value priced!