[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Error perl script to upgrate 4.9


At 09:46 AM 12/1/2003 +0100, you wrote:

In my apache error.log the error is general: Premature end of script headers: ....

This is the code complete:

[if value payment_method eq credit]
[perl reparse=1 tables="products pricing shipping salestax" ] # I have add this: tables="products pricing shipping salestax"

my $price = $Tag->total_cost({noformat => 1,}); # This is the line error and is the total cost of the order

#my $price = 100,00; If I use this is OK  !!!


my $order_number = $Values->{mv_order_number};


my $url_prepare = sprintf("http://xxx/xxx.asp?xxxxxx CF__CustOrderNumber=%s xxxxxxxxx Price=%s&Quantity=1 xxxxxx ",$order_number,$order_number,$price);
my $hash = "[get-url $url_prepare]";

my $url_make = sprintf("http://xxxx/xxxx.asp?xxxxxxxxx VatFlag=0&VatRate=0.2&Price=%s&Currency=EUR&Quantity=1&Locale=it-IT-SL&StoreID=xxxxxxCF__CustOrderNumber=%s xxxxxxxxxxxxxxx",$order_number,$price);


return "<a href=$url_make>Per passare al pagamento clicca qui</a>";
[/perl]

Slauti Stefano

Is there anything in the interchange error.log?

- Ed


===============================================================
New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          suppressed
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax
===============================================================
_______________________________________________
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.