[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: CyberCash Problem
Thanks for you help Kyle,
I know where to look now, but I am not sure what I am looking at... I tried
making some changes to those fields you mentioned and only made things
worse. I have reverted it back to where it was and CyberCash is working
again, but "Will Calls" fail. Here's some excerpts from my checkout page.
Here is where the payment method is selected:
<TABLE WIDTH= "390" BORDER=1 CELLPADDING=5 bgcolor="#EEEEEE">
<td width="10" bgcolor="#AFCEFD">
<INPUT TYPE=radio NAME="fax_order" VALUE=0
[if !value fax_order]CHECKED[/if]>
</td>
<td colspan="2" bgcolor="#EEEEEE">
<font face="verdana,helvetica,arial" size="2">[L]Pay by credit
card[/L]</font>
</td>
</tr><tr>
<td width="10" bgcolor="#AFCEFD">
<INPUT TYPE=radio NAME="fax_order" VALUE=1
[checked fax_order 1]>
</td>
<td colspan="2">
<font face="verdana,helvetica,arial" size="2">[L]I will call with
payment information[/L]</font>
</td>
</tr><tr>
<td colspan="2"><font face="verdana,helvetica,arial"
size="2">[L]Card Number[/L]</font></td>
<td bgcolor="#AFCEFD">
<input type="text" name="mv_credit_card_number"
value="" size=20>
</TD>
</tr><tr>
<TD colspan="2"><font face="verdana,helvetica,arial"
size="2">[L]Expires[/L]</font></td>
<td bgcolor="#AFCEFD">
<SELECT name="mv_credit_card_exp_month">
<OPTION VALUE=1 [selected mv_credit_card_exp_month 1]> 01 -
[L]January[/L]
<OPTION VALUE=2 [selected mv_credit_card_exp_month 2]> 02 -
[L]February[/L]
<OPTION VALUE=3 [selected mv_credit_card_exp_month 3]> 03 -
[L]March[/L]
<OPTION VALUE=4 [selected mv_credit_card_exp_month 4]> 04 -
[L]April[/L]
<OPTION VALUE=5 [selected mv_credit_card_exp_month 5]> 05 -
[L]May[/L]
<OPTION VALUE=6 [selected mv_credit_card_exp_month 6]> 06 -
[L]June[/L]
<OPTION VALUE=7 [selected mv_credit_card_exp_month 7]> 07 -
[L]July[/L]
<OPTION VALUE=8 [selected mv_credit_card_exp_month 8]> 08 -
[L]August[/L]
<OPTION VALUE=9 [selected mv_credit_card_exp_month 9]> 09 -
[L]September[/L]
<OPTION VALUE=10 [selected mv_credit_card_exp_month 10]> 10 -
[L]October[/L]
<OPTION VALUE=11 [selected mv_credit_card_exp_month 11]> 11 -
[L]November[/L]
<OPTION VALUE=12 [selected mv_credit_card_exp_month 12]> 12 -
[L]December[/L]
</SELECT>
<SELECT name="mv_credit_card_exp_year">
<OPTION VALUE=99 [selected mv_credit_card_exp_year 99]> 1999
<OPTION VALUE=00 [selected mv_credit_card_exp_year 00]> 2000
<OPTION VALUE=01 [selected mv_credit_card_exp_year 01]> 2001
<OPTION VALUE=02 [selected mv_credit_card_exp_year 02]> 2002
<OPTION VALUE=03 [selected mv_credit_card_exp_year 03]> 2003
<OPTION VALUE=04 [selected mv_credit_card_exp_year 04]> 2004
<OPTION VALUE=05 [selected mv_credit_card_exp_year 05]> 2005
<OPTION VALUE=06 [selected mv_credit_card_exp_year 06]> 2006
<OPTION VALUE=07 [selected mv_credit_card_exp_year 07]> 2007
<OPTION VALUE=08 [selected mv_credit_card_exp_year 08]> 2008
<OPTION VALUE=09 [selected mv_credit_card_exp_year 09]> 2009
<OPTION VALUE=10 [selected mv_credit_card_exp_year 10]> 2010
</SELECT>
</TD>
</TR>
[if value tried_credit_card]
<tr><td>
<INPUT TYPE=checkbox NAME="mv_credit_card_force" VALUE=1>
<td colspan="2">
<font face="verdana,helvetica,arial" size="2">[L]Force this card
number to be taken[/L]</font>
</td></tr>
[/if]
</table>
And here are those profiles near the bottom:
[set checkout_profile]
name=required
address=required
city=required
country=required
[calc]
my $country = q{[cgi country]};
$country =~ s/\W+//g;
return 'phone_day=phone' unless $country =~
/^(US|CA|USA|UnitedStates|Canada)$/i;
return "state=state_province\nzip=zip\nphone_day=phone_us";
[/calc]
email=required
email=email
&fatal = yes
[if value fax_order]
&set = mv_payment Call Us
[elsif config CyberCash]
&set=mv_payment CyberCash Credit Card
[/elsif]
[elsif config CreditCardAuto]
&set=mv_payment Credit Card ([default mv_credit_card_type unknown])
mv_credit_card_info=required
[/elsif]
[else]
&set=mv_email Will Call
[/else]
[/if]
&final = yes
&set=mv_email [value email]
[/set]
[/else]
[/if]
Cameron B. Prince
Site Specialist
NOVA Chemicals
Decatur, Alabama
Voice: (256) 306-4881
FAX: (256) 306-4880
Cellular: (256) 227-1238
> -----Original Message-----
> From: owner-minivend-users@minivend.com
> [SMTP:owner-minivend-users@minivend.com] On Behalf Of kyle@invisio.com
> Sent: Monday, August 23, 1999 6:18 PM
> To: minivend-users@minivend.com
> Subject: Re: CyberCash Problem
>
> ****** message to minivend-users from "kyle@invisio.com"
> <kyle@invisio.com> ******
>
> 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!
>
> -
> 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