[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] Signio + Minivend various problems and solutions.
****** message to minivend-users from "Ron Phipps" <takedown@cdsnet.net> ******
Hey all,
I have been working with two readers from the list to fix a few problem I
experienced while setting up Minivend to work with Signio.
1. Receive: Data was not stored to SessionDBM at the bottom of receipt.html
Scenario: User checks out successfully.
Fix: Make sure the Storable perl module is installed. Delete all .gdbm
files. Create the file _db_storable and _session_storable in the root of
the minivend directory. If this does not solve the problem (which has
something to do with using Data:Dumper, per Mike) then backup your catalog
and config file and uninstall Minivend. Upon reinstall of Minivend it will
configure itself to use Storable as long as the module is installed.
2. Receive: Global symbol "$VAR1" requires explicit package name at (eval
24) line 439.
Scenario: running expireall -r to expire the sessions.
Fix: Follow steps for #1, these seem to be related and Mike had mentioned a
similiar error happening when not using Storable and running another
minivend command.
3. Receive: "Errors are in this color"
Scenario: User submits cc info but the transaction is denied. checkout.html
assumes there is some sort of error but the Signio module or Order.pm does
not set the error to display.
Fix: Modify your signio library and add the lines:
my $msg = errmsg("Signio error: " . $result{RESULT} . " " . $result{RESPMSG}
. ". Please call in your order or try again.");
$Vend::Session->{errors}{mv_credit_card_valid} = $msg;
Right after:
if ($decline)
{
$decline = $decline >> 8;
$result{'pop.status'} = $result{'MStatus'} = 'failed';
$Vend::Session->{cybercash_error} =
$Vend::Session->{payment_error} = $result{RESPMSG};
This will cause minivend to display a message such as "Signio error: 13
Referral. Please call in your order or try again." in the credit card
section just as other cc errors are displayed.
Mike, would it be possible to have a fix added to the signio module that
will come with 4.05 or place similiar code inside Order.pm right after the
custom routine is called?
4. Receive: "1" at the bottom of checkout.html
Scenario: Invalid credit card transaction
Fix: put a comment block around "[error all=1 hide=1 comment="Clear
errors"]" in checkout.html
I'm not sure if this is the correct fix but whenever there is a signio error
I receive a "1" at the bottom... I assume this is what is in %result after
the custom cc routine is called. Will commenting out this line affect any
other piece of minivend?
Take it easy all!
-Ron
-
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