title: Integrating Paypal with .Net Core 3
body: <p>I have a .Net Core 3 project and I want to integrate Paypal. </p>
  
  <p>In past projects I was using <code>Paypal</code> <a href="https://www.nuget.org/packages/PayPal/2.0.0-rc2" rel="nofollow noreferrer">package</a>, but now I was reading their <a href="https://developer.paypal.com/docs/checkout/" rel="nofollow noreferrer">documentation</a>  and they recommend to use version 2 of their API. (<em>Previously I was using version 1 with <code>Paypal</code> SDK</em>). If I go to the nuget.com and check the <code>Paypal</code> package I see that version 2 of this package is still <code>rc</code>:</p>
  
  <pre><code>Version     Downloads   Last updated        
  2.0.0-rc2   143,570     2018-04-12T18:17:40Z
  </code></pre>
  
  <p>Now it has been almost 2 years in this, so it doesn't look promising. If I check their docs again I find that they recommend using following package: <a href="https://www.nuget.org/packages/PayPalCheckoutSdk/" rel="nofollow noreferrer"><code>PayPalCheckoutSdk</code></a>. Link to their <a href="https://developer.paypal.com/docs/checkout/reference/server-integration/setup-sdk/" rel="nofollow noreferrer">docs</a>. If I try to copy-paste an exampe it doesn't even compile (<em>mainly due to some properties renamed</em>). This really doesn't give a lot of confidence in using this package at all. My last resort would be just to call paypal API directly without using their provided SDK.</p>
  
  <p>What is the best way to integrate paypal with my server running on .Net Core 3.1? </p>
  
  <p>Options: </p>
  
  <ul>
  <li>Use <code>paypal 2.0.0-rc2</code> </li>
  <li>Use <code>PayPalCheckoutSdk</code> </li>
  <li>Call API directly</li>
  </ul>