Thanks very much for creating this extension. I am still testing it and am having some problems…
I have followed all advice from the extensions page and this thread regarding setting up the extension with my PayPal sandbox account and when trying to use the test and legacy controllers I get errors that seem like my credentials are invalid.
For example i execute /payPal/PPTest/create/ and get ‘boolean false’ as the response. The log says:
Failed create button
Request: BUTTONTYPE=BUYNOW&METHOD=BMCreateButton
Similar errors are produced for all actions of the test and legacy controllers.
Here is my log of what I have done so far:
-sandbox:
create account preconfigured
select country, seller account, login name and password etc.
choose API credentials to get:
-API Username
-API Password
-Signature
alternatively way to access the above:
-login to account
-choose: profile -> API Access -> View API Signature
login to account:
-get identityToken: under profile look for Secure Merchant Account ID
-enable IPN and set url: profile -> Instant Payment Notification Preferences
-setup yii extension ppext:
create yii project using yii version 1.1.6
copy PayPal directory (ppext module version 0.4) to modules directory
add the following to config/main.php:
'modules'=>array(
'payPal'=>array(
'env'=>'sandbox',
'account'=>array(
'username'=>'API Username',
'password'=>'API Password',
'signature'=>'signature',
'email'=>'account email address',
'identityToken'=>'Secure Merchant Account ID'
),
'components'=>array(
'buttonManager'=>array(
'class'=>'payPal.components.PPPhpButtonManager'
)
)
)
)
Any suggestions?