Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I suppose you could drop cookies that store the <code>Cart</code> data for that session. Then after you get a post back from paypal or whatever you could read the cookies from the user's request. </p> <p>However I would think you could save the pending transaction to the database, send whatever data it is you send to paypal, and use a key or whatever method they have to link the paypal transaction to the pending transaction in the database. This would be more secure. </p> <p>I'm sure paypal has a simple and well documented transaction process, that I would look into before trying either of these.</p> <p>If your actually trying to integrate with paypal and not just using that as an example, here is a tutorial for <a href="http://www.arunrana.net/2012/01/paypal-integration-in-mvc3-and-razor.html" rel="nofollow">Paypal and MVC3</a>.</p> <p>From <a href="https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&amp;content_ID=developer/e_howto_api_ECGettingStarted" rel="nofollow">PayPal</a>:</p> <blockquote> <p><strong>Relationship Between Express Checkout and Shopping Carts</strong></p> <p>If you do not have your own shopping cart and have not integrated Express Checkout with your website, you might consider using a third-party shopping cart. A shopping cart is software that lets buyers put items in a basket and calculates totals during checkout.</p> <p>PayPal partners with a wide variety of shopping carts, all of which are PayPal compatible and provide secure purchases for your buyers. The shopping cart vendor provides instructions for integrating their shopping cart on your website. See the PayPal Partner Directory (https://www.paypal-marketing.com/emarketing/partner/directory/directory.page?type=Shopping+Cart#mode=dir&amp;dir%5Bops%5D=either&amp;dir%5Bkey%5D=Keyword+term&amp;dir%5Btyp%5D%5B%5D=1&amp;dir%5Bind%5D%5B%5D=0&amp;dir%5Brod%5D%5B%5D=1&amp;dir%5Brod%5D%5B%5D=2) for available shopping carts.</p> <p>IMPORTANT:If you choose a shopping cart, do not contact PayPal. PayPal has no authority over a shopping cart vendor and cannot help you resolve issues that might arise from the integration with or use of a third-party shopping cart.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload