I am trying
my $process_opt = {
credit_card_number => '4111111111111111',
};
$ok = $Tag->checkout( $process_opt )->result;
if($ok) {
print "Successful process.\n";
}
calling catalog.cfg defined
SOAP_Action checkout <<EOR
sub {
my $opt = shift;
$CGI->{mv_credit_card_number} = $opt->{credit_card_number};
$CGI->{mv_order_profile} = 'credit card';
$CGI->{mv_doit} = 'submit';
return $Tag->update( { function => 'process' });
}
EOR
SOAP_Control Action/checkout always
/etc/log_transaction MV_PAYMENT_MODE is not defined
Doing
foreach my $key (sort keys%$::Variable) {
::logDebug("$key $::Variable->{$key}");
}
displays the variables from a different catalog.
Setting MV_PAYMENT_MODE in the catalog.cfg file for the other catalog works.
Where does interchange load the variables from when called from SOAP::Lite
interface?
Thanks
Chris
Where does interchange load $::Variables from
--
Chris Sendall
MISD, First Floor, Greenwich House, Madingley Rise, Madingley Road, Cambridge,
CB3 0TX.
Telephone: +44 1223 339653 Fax: +44 1223 339003
e-mail:suppressed
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.