Hi All,<br><br>My requirement is to save a user&#39;s billing information and Payment Method in the My Accounts section and use the information to collect money automatically from users credit card as soon as he user creates a node.<br>

I am trying to bring the Billing information and Payment methods on user/%/edit by implementing hook_user <br>I created a new category payment and am trying to get the uc_cart_checkout_form on user/%/edit/payment section <br>

<br>Following is the code that I have tried but did not work, can anyone please help me identify what and where am I going wrong?<br><br>function custom_form_user($op, &amp;$edit, &amp;$account, $category = NULL) {<br>  switch ($op) {<br>

    case &#39;form&#39;:<br>      if($category == &#39;payment&#39;) {<br>        $form_state = array();<br>        $form = uc_cart_checkout_form();<br>       return $form;<br>      }<br>      break;<br>    case &#39;categories&#39;:<br>

      $output[] = array(<br>        &#39;name&#39; =&gt; &#39;payment&#39;,<br>        &#39;title&#39; =&gt; t(&#39;Payment Options&#39;),<br>        &#39;weight&#39; =&gt; 10,<br>        &#39;access callback&#39; =&gt; &#39;user_access&#39;,<br>

        &#39;access arguments&#39; =&gt; array(&#39;access content&#39;),<br>      );<br>      return $output;<br>      break;<br>  }<br>}<br><br>