robmcvey / cakephp-paypal

CakePHP 2.0 plugin for PayPal Website Payment Pro
60 stars 44 forks source link

Should we use the Paypal Rest API SDK PHP? #14

Closed zot24 closed 10 years ago

zot24 commented 10 years ago

There already exist a Rest API SDK PHP powered by Paypal, could be good idea wrap up that logic in our CakePHP an save some work, is't it?

robmcvey commented 10 years ago

Possibly, what are your thoughts on the fact the SDK uses an .ini file?

This could make installation of the plugin as a whole more complicated and would require instructions for configuring both the plugin AND the SDK. I can't see a way around this without modifying the SDK code considerably.

My other concern would be some of the PHP 5.3 requirements in the SDK. CakePHP will run on PHP 5.2.8 - I'd like to follow this as a minimum requirement (Although could be a good move when CakePHP 3.0 surfaces)

zot24 commented 10 years ago

I like your approach! Let keep it simple as possible.

Because if not we are gonna depend to much on that SDK an maybe at some point we are gonna have to modify an I don't like that idea.