Custom block assigned to new region invalid
You can use this code:

function formalter_block_info() {

 $blocks = array();

 $blocks['buynow'] = array(

 'info' =&gt; t('Shoretel Buynow'),

 'status' =&gt; 1, // This will enable your block by default, and set it to region given in 'region' option

 'region' =&gt; 'buynow', // put &lt;machine-name of your region&gt; in place of footer
 'visibility' =&gt; BLOCK_VISIBILITY_NOTLISTED,

 'weight' =&gt; 2,

 );
return $blocks;
}