il codice che hai postato è completo?
stai seguendo qualche guida ?
Codice PHP:require "sella_OTP.class.php";
$amount=ereg_replace( ",", ".", $totale_carrello );
$transazione = new sella_OTP();
$transazione->SetUrl('');
$transazione->SetStore("file"); // option file or sql
$transazione->LING = 1; //optional if used you have to configure Sella Back END
$transazione->PAY1_AMOUNT = $amount ;
$transazione->PAY1_IDLANGUAGE = 1;
$transazione->PAY1_UICCODE = "242";
$transazione->PAY1_SHOPTRANSACTIONID ="123456789";// id session Your variable. MUST be different each time
$ret=$transazione->make_query("123456789"); //Merchant ID
if (!empty($transazione->error_log))
print "Error: $transazione->error_log";
else
$transazione->show_form("get"); //options get or post

Rispondi quotando