I am Craft newbie, and am trying to use PayPal express checkout but am stuck on a confirmation route.
How do I register a route like this:
localhost:8888/app/confirm?token=EC-5UA33446UB5625646&PayerID=8RB74GZ8ASWGQ
What I have done so far:
Registered route confirm on the plugin but when PayPal adds the token and payerId, Craft doesn't understand the route anymore.
public function registerSiteRoutes()
{
return array(
'app/confirm' => array('action' => 'app/confirm')
);
}
Any help will be appreciated.
public function registerSiteRoutes() { return array( 'paypaloots/confirm' => array('action' => 'paypaloots/confirm'), ); }
– Silvanus Matiku Sep 1 '14 at 4:24