classname.".cfg.php"); ?>
2Checkout.com Seller/Vendor ID Your 2Checkout.com Seller id
2Checkout.com Secret Word Your Secret Word for 2Checkout.com. Makes the transactions more secure.
_PHPSHOP_ADMIN_CFG_PAYPAL_STATUS_SUCCESS ?> _PHPSHOP_ADMIN_CFG_PAYPAL_STATUS_SUCCESS_EXPLAIN ?>
_PHPSHOP_ADMIN_CFG_PAYPAL_STATUS_FAILED ?> _PHPSHOP_ADMIN_CFG_PAYPAL_STATUS_FAILED_EXPLAIN ?>
Merchant Notifications Should 2CheckOut e-mail a receipt to the store owner?
Test Mode? Select yes to enable the Test/Demo mode?
classname.".cfg.php" ); } /** * Returns the "is_readable" status of the configuration file * @param void * @returns boolean True when the configuration file is writeable, false when not */ function configfile_readable() { return is_readable( CLASSPATH."payment/".$this->classname.".cfg.php" ); } /** * Writes the configuration file for this payment method * @param array An array of objects * @returns boolean True when writing was successful */ function write_configuration( &$d ) { $my_config_array = array("TWOCO_LOGIN" => $d['TWOCO_LOGIN'], "TWOCO_SECRETWORD" => $d['TWOCO_SECRETWORD'], "TWOCO_VERIFIED_STATUS" => $d['TWOCO_VERIFIED_STATUS'], "TWOCO_INVALID_STATUS" => $d['TWOCO_INVALID_STATUS'], "TWOCO_TESTMODE" => $d['TWOCO_TESTMODE'], "TWOCO_MERCHANT_EMAIL" => $d['TWOCO_MERCHANT_EMAIL'] ); $config = " $value ) { $config .= "define ('$key', '$value');\n"; } $config .= "?>"; if ($fp = fopen(CLASSPATH ."payment/".$this->classname.".cfg.php", "w")) { fputs($fp, $config, strlen($config)); fclose ($fp); return true; } else return false; } /************************************************************************** ** name: process_payment() ** created by: soeren ** description: ** parameters: $order_number, the number of the order, we're processing here ** $order_total, the total $ of the order ** returns: ***************************************************************************/ function process_payment($order_number, $order_total, &$d) { return true; } }