title: PayPal integration with iframe-based cart
body: <p>We use PayPal's Payments Pro NVP API to provide seamless credit card and paypal processing on our site.  We've created an iframe-based cart widget that our customers put onto <em>their</em> site so their users can purchase items and pay via our Paypal account. </p>
  
  <p>While credit card transactions work fine, we're seeing issues when a user tries to pay with their the PayPal account.  The API uses a redirect when clicking the PayPal logo but then PayPal's code seems to run a framebusting script and the transaction can't continue.</p>
  
  <p>I am seeking suggestions or sample code for how to handle users wishing to PayPal for their payment via the iframe.  One option is to pop-up a new window but then it leaves the design open to issues since the user can switch between that window and the window containing the iframe and conceivably get the cart out of sync with what the PayPal window is displaying. </p>