Remove setCertificate and replace it with $this->Paypal-
>setSignature('signature provided by paypal');.  There are 2 options
on how you process a payment, certificate and signature.  I used
signature and now it's working :).

On Aug 1, 2:56 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> by default, the code is something like this:
>
>          // Set up common component's parameters
>          
> $this->Paypal->setEnvironment(CAKE_COMPONENT_PAYPAL_ENVIRONMENT_SANDBOX);
>
>          $this->Paypal->setUser('ApiUser');
>          $this->Paypal->setPassword('ApiPassword');
>          $this->Paypal->setCertificate('cert_perm.txt');
>          $this->Paypal->setOrder($order)
>
> the source doesn't give instruction that this part should be change. I
> tried changing the username, password for my
> sandboxpaypalaccount but still i do get the same error message.
>
> On Aug 2, 1:48 am, "Gonzalo Servat" <[EMAIL PROTECTED]> wrote:
>
> > On 8/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
> > > what usename, password, certificate file and environment this error
> > > referring to?
>
> > > ERROR: API Username, Password, Certificate File and Environment must
> > > all be set
>
> > I haven't used this component myself, but maybe you could search the source
> > code for this error you're getting to see where it's going to check for the
> > above details. That'll probably lead you to the answer.
>
> > - Gonzalo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to