Note that there are some explanatory texts on larger screens.

plurals
  1. POEncrypted PayPal buttons on AppEngine python for PayPay web payments standard?
    primarykey
    data
    text
    <p>I'm looking for an example of creating encrypted forms for paypal from appEngine running python. I've seen a lot of things that are in the neighborhood, but not the right address:</p> <p>Here's the general info <a href="https://cms.paypal.com/us/cgi-bin/?&amp;cmd=_render-content&amp;content_ID=developer/e_howto_html_encryptedwebpayments#id08A3I0P017Q" rel="nofollow noreferrer">over on PayPal's site</a> for generating the encrypted form. Basically the form data is encrypted and sent over to paypal so that it can't be tampered with.</p> <p>This <a href="http://jonatkinson.co.uk/paypal-encrypted-buttons-django/" rel="nofollow noreferrer">great article</a> talks about doing this very thing in django. The trouble is that is relies on M2Crypto and that doesn't run on AppEngine.</p> <p>There's a <a href="https://github.com/jdennes/django-paypal-appengine" rel="nofollow noreferrer">library</a> that is based on the previous article but supposed to be hacked to run on app engine. When you poke around class PayPalEncryptedPaymentsForm they are using M2Crypto.</p> <p>This lead me to try to verify that you <a href="https://stackoverflow.com/questions/8838855/importing-m2crypto-to-google-app-engine">can't use M2Crypto on AppEngine</a>.</p> <p>Turns out during this search I found <a href="http://hustoknow.blogspot.com/2012/01/using-pycrypto-instead-of-m2crypto-on.html" rel="nofollow noreferrer">this article</a> about using PyCrypto instead of M2Crypto. There's a bunch of caveats in the article that aren't in my areas of expertise. I'm hoping that someone out there has made a run at using PyCrypto for PayPal's Encrypted Website Payments and can shed some light with an example.</p> <p>Thanks.</p>
    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.
 

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