Hi Cakers,

I am trying to integrate the PayPal Component by Mariano Iglesias and
I am having trouble understanding how to implement the form and then
the controller action to call the component.

I have set up a form for the checkout and then I am calling a checkout
function in my carts controller.

>From there I am then calling the PayPal component like this

function checkout($id = null) {
if (!empty($this->data)) {
        $this->Paypal->directPayment();
        debug($this->data);
}
}

but nothing is happening except the a redirect back to the checkout
view with the form reloaded.

Am I calling the component the wrong way?

I have searched for any form and controller examples with no avail.
Any help is appreciated.

Thank you,

Brad

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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