The way I handle PayPal in my app is to store the shopping cart as an entry in a table called transactions. i use serialize to store all my transaction details, and from the it generates the button code unencrypted. When the PayPal transaction finishes it sends an Instant Payment Notification to my app and I have a script to porocess that in the background, comparing the PayPal results to the stored transaction. If everything matches up we process the order otherwise it gets flagged.
I don't like encypted buttons with PayPal because they are a pain in the ass to edit (logging in to PayPal). I would rather generate my code on the fly. PayPal is also coming out with a new API which should be interesting, if not a bit off the subject. On Aug 7, 10:56 am, adrian <[email protected]> wrote: > I'm setting up paypal and have everything running fine except for one > last thing which is encrypting the form that is sent to PayPal. I have > this setup with no problems on a server not running cakephp, but when > I try to set it up while running Cakephp it just wont access the files > it needs. It uses 3 .pem files that are used to encrypt the form but > I have no Idea where to place them so Cakephp has access to them. I'm > sure people must have had similar problems but couldn't find anything > on Google. > > Any help would be great :) > > Cheers, > Adrian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
