Jump to content
Robert1995

[GITHUB] PHP Paypal IPN Made Easy

Recommended Posts

Easy Paypal, ultima librarie scrisa de mine pana in momentul de fata, am bagat vreo 20 de ore in development sa fiu sigur ca e ok. E facuta sa mearga direct cu composer, merge instant. e hostata pe github.

Teoretic, e "decoupled" programming, nu are dependete, doar "Transaction" are nevoie de TransactionItem si TransactionListener ( is puse ca obiecte acolo ). In rest e "bound by programming", clase abstracte etc.

Learn more : Easy Paypal

Github : https://github.com/rusuandreirobert/easypaypal

Class documentation : API Documentation

Edit :

Diagrama de proces initiala : https://raw2.github.com/rusuandreirobert/easypaypal/master/documents/PaypalOrderCreation.jpg

P.S : In diagrama e un pic vag, pot fi N listenere, initial am vrut doar 1, dar dupa mi-am dat seama, de ce nu mai multe :).

P.P.S : Caut pe cineva daca e interesat sa puna la punct pagina de prezentare ( care o sa hostam pe github ) si primeste "credit" pentru munca lui direct in github.

Edited by Robert1995
  • Upvote 3
Link to comment
Share on other sites

Felicitari, chiar imi place cum lucrezi.

Pune te rog la asta intr-un config ceva:


date_default_timezone_set('Europe/Bucharest');


http://demonstration.easy-development.com/
http://demonstration.easy-development.com/easypaypal/documentation/

Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /Applications/MAMP/htdocs/paypal-ipn/vendor/twig/twig/lib/Twig/Extension/Core.php on line 89 Tue,

Link to comment
Share on other sites

Felicitari pentru clasa, foarte utila comunitatii open-source.

Cateva sugestii, daca imi permiti:

- Documentatie mai multa in stilul phpDocumentor, poate ca nu o vezi utila, dar crede-ma ca ajuta nu numai la design-ul codului ci si un pic celor ce vor extinde clasa

- Validare OOP exista, instanceOf, in legatura cu un mod de scriere structurat si organizat pe stilul OODB(gen design pattern-ul Model)

Desigur, dupa cum a spus si tex lucrezi foarte bine si nici macar nu-i nevoie sa imi citesti unul din sfaturi.

Link to comment
Share on other sites

Felicitari pentru clasa, foarte utila comunitatii open-source.

Cateva sugestii, daca imi permiti:

- Documentatie mai multa in stilul phpDocumentor, poate ca nu o vezi utila, dar crede-ma ca ajuta nu numai la design-ul codului ci si un pic celor ce vor extinde clasa

- Validare OOP exista, instanceOf, in legatura cu un mod de scriere structurat si organizat pe stilul OODB(gen design pattern-ul Model)

Desigur, dupa cum a spus si tex lucrezi foarte bine si nici macar nu-i nevoie sa imi citesti unul din sfaturi.

Ah da :). instanceof e bun, dar e "nitel diferit" handlerul la item si listener, de aceea ziceam. Daca as sta sa generalizez mai tare, credca ar merge. dar nu prea are rost, cel putin, nu in stadiul asta

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...