public function savePrivateKeyStripe($filename, $value) | public function savePrivateKeyStripe($filename, $value) | ||||
{ | { | ||||
if ($this->online_payment && strlen($value) > 0) { | |||||
if (strlen($value) > 0) { | |||||
$handle = fopen($filename, "w"); | $handle = fopen($filename, "w"); | ||||
fwrite($handle, $value); | fwrite($handle, $value); | ||||
fclose($handle); | fclose($handle); |