I found someone using paypal button on their web by flex.
The way they use it is very different than I expect. They translated the whole html code into Mxml which is kinda buggy. Because it's hard to pass the encrypted field to paypal engine by flex.
And also, there's a huge problem from this. When the user click the donate button, it would pop-up a window from paypal for the donation. And if the donor close the donor system page or refresh it, it will lose the connection with paypal.
And the most important thing is when to insert the donatio into DB (before paypal or after or in the same time) is very hard to decide.
The user info setting stuffs will be done in next week. And I will start looking at validation and security. I decide to use different States in the mainBox page instead of view Stack. Because since they are going to share the same user and session number. I should just put them in different States. View stack is also doable but much more action script will be needed, that will be nasty.
Here's the example to use paypal button in flex.
http://blog.flexcommunity.net/?p=26
And photo for RCOS summer 2009
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment