paypal encrypted buttons using lc

Mark Wieder mwieder at ahsoftware.net
Wed Jul 20 22:10:41 EDT 2016


On 07/20/2016 02:13 PM, Mike Bonner wrote:

> This is why I'm looking in to doing the encryption on my own.  (not
> necessarily on the fly)  as described best here:
> https://www.stellarwebsolutions.com/en/articles/paypal_button_encryption_php.php

I'm coming in late to the party as usual, and I probably don't need to 
say it but I will anyway... I would never trust generating a private key 
to some anonymous website. Or any other website. Or anything that wasn't 
my own computer. Please don't do that.

OK - I got that out of the way.

 From the looks of that web page, the openssl part looks pretty 
straightforward - set some local environment variables, then call 
openssl to encrypt the data, and send it on its way. On the other hand, 
if your call to paypal will require you to send a client certificate, 
LiveCode can't do that yet. But it's not obvious to me from the php code 
presented that you would need that, so I think you're good there.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list