title: How to integrate 2checkout with reactjs and nodejs?
body: <p>I am trying to integrate 2checkout API in my reactjs &amp;nodejs project.I reffered the documents which 2co provided.I created an account and in that webhooks&amp;API i have &quot;Merchant Code&quot; and &quot;Secret Key&quot; but there is no &quot;Publishable key&quot; and &quot;Private Key&quot; Why?</p>
  <p>what i have is:</p>
  <pre><code>             render = () =&gt; {
               return(
                &lt;form id=&quot;myCCForm&quot; onSubmit={this.Submit}&gt;
                          &lt;input
                            id=&quot;token&quot;
                            name=&quot;token&quot;
                            type=&quot;hidden&quot;
                            value=&quot;&quot;
                          &gt;&lt;/input&gt;
                          &lt;div&gt;
                            &lt;label&gt;
                              &lt;span&gt;Card Number&lt;/span&gt;
                            &lt;/label&gt;
                            &lt;input
                              id=&quot;ccNo&quot;
                              type=&quot;text&quot;
                              size=&quot;20&quot;
                              value=&quot;&quot;
                              autocomplete=&quot;off&quot;
                              required
                            /&gt;
                          &lt;/div&gt;
                          &lt;div&gt;
                            &lt;label&gt;
                              &lt;span&gt;Expiration Date (MM/YYYY)&lt;/span&gt;
                            &lt;/label&gt;
                            &lt;input
                              type=&quot;text&quot;
                              size=&quot;2&quot;
                              id=&quot;expMonth&quot;
                              required
                            &gt;&lt;/input&gt;
                            &lt;span&gt; / &lt;/span&gt;
                            &lt;input
                              type=&quot;text&quot;
                              size=&quot;2&quot;
                              id=&quot;expYear&quot;
                              required
                            &gt;&lt;/input&gt;
                          &lt;/div&gt;
                          &lt;div&gt;
                            &lt;label&gt;
                              &lt;span&gt;CVC&lt;/span&gt;
                            &lt;/label&gt;
                            &lt;input
                              id=&quot;cvv&quot;
                              size=&quot;4&quot;
                              type=&quot;text&quot;
                              value=&quot;&quot;
                              autocomplete=&quot;off&quot;
                              required
                            &gt;&lt;/input&gt;
                          &lt;/div&gt;
                          &lt;input type=&quot;submit&quot; value=&quot;Submit Payment&quot;&gt;&lt;/input&gt;
                        &lt;/form&gt;
                       )}
    
               submit=()=&gt;{
                     let args = {
                     sellerId: &quot;&quot;,//gave merchant code here
                     publishableKey: &quot;&quot;,//as there is no publishable key  what will give here?
                     ccNo: &quot;&quot;,
                     cvv: &quot;&quot;,
                     expMonth: &quot;&quot;,
                     expYear: &quot;&quot;
                  };
  
               window.TCO.loadPubKey(&quot;sandbox&quot;, () =&gt; {
               window.TCO.requestToken(args).then(data =&gt; {
                  console.log(&quot;data&quot;);
                });
                });
  </code></pre>
  <p>How can i resolve this problem?</p>