PHP Classes

File: noteclass.txt

Recommend this page to a friend!
  Classes of Angelo   sellaOTP   noteclass.txt   Download  
File: noteclass.txt
Role: Documentation
Content type: text/plain
Description: Short Doc
Class: sellaOTP
Interfacing via OTP for Sella Bank ecom. servers
Author: By
Last change:
Date: 21 years ago
Size: 1,624 bytes
 

Contents

Class file image Download
//proprieta' private var $sep; //current page number var $sep2; //current number of objects var $a; //A parameter var $b; //B parameter var $amount; //AMOUNT var $error_log; //Error var $url; //url (default is set https://ecomm.sella.it/gestpay/pagam.asp var $store; //type of OTP storing (file/sql) // Both Sent and Received Variabiles //Mandatories var $PAY1_SHOPTRANSACTIONID; var $PAY1_UICCODE; var $PAY1_AMOUNT; var $PAY1_OTP; //Optionals var $PAY1_IDLANGUAGE; // Return Variabiles var $PAY1_CHNAME; var $PAY1_CHEMAIL; var $PAY1_TRANSACTIONRESULT; var $PAY1_AUTHORIZATIONCODE; var $PAY1_BANKTRANSACTIONID; var $PAY1_ERRORCODE; var $PAY1_ERRORDESCRIPTION; var $PAY1_ALERTCODE; var $PAY1_ALERTDESCRIPTION; read_answer //Assign to general properties the values returned from Sella Bank make_query($id) //prepare url to be passed to banca sella prepare_otp_ric //Take one OTP password from archive verify_otp() //Verify the OTP returned from Sella Bank convertcomma2point($amount) //Convert Number with comma into number with point show_report //Show the table with the passed returned values show_form($action) //Show the form of submit values for payment SetSepSella($separatoregenerale) //Set general Sella Bank separator (Default is *P1*) SetSepValue($sepvalue) //Set value separator (Default is =) SetStore($stmethod) //Set Storing method for OTP [file/sql] SetUrl($url) //Set url to Sella Bank (Default is https://ecomm.sella.it/gestpay/pagam.asp) SetA($a) //Set A property of class SetB($b) //Set B property of class