PayPal component
goToPay(array $fields = array())
Interface to redirect a user to the PayPal custom-cart payment page to collect funds via PayPal. The$fields
arguments are sent to PayPal and should match the PayPal API; many have default values set to simplify usage. The PAYPAL_EMAIL
constant must be set in the .config file to use this method. An action that calls this method does not need a view.