I have installed eventmanagement (Ajshort / silverstripe-eventmanagement) -January 20, 2012 bugfix
Latest ecommerce and latest payment module.
The ecommerce paypal express combination work in paypal sandbox.
The eventmangement paypal express does not work although by cheque payment work. Clearly there is something wrong with paypal express in the eventmenagement in my configuration.
message:
[User Warning] Already directed to xxxxx/event/details/1/register?MultiFormSessionID=93c63803df93072222ec0ca56eb331ba67ea9786; now trying to direct to xxxxx/event/details/1/register?MultiFormSessionID=93c63803df93072222ec0ca56eb331ba67ea9786
POST xxxxx/event/details/1/register/RegisterForm?MultiFormSessionID=93c63803df93072222ec0ca56eb331ba67ea9786
Line 464 in C:\wamp\xxxx\sapphire\core\control\Controller.php
/**
459 * Redirct to the given URL.
460 * It is generally recommended to call Director::redirect() rather than calling this function directly.
461 */
462 function redirect($url, $code=302) {
463 if($this->response->getHeader('Location')) {
464 user_error("Already directed to " . $this->response->getHeader('Location') . "; now trying to direct to $url", E_USER_WARNING); <--------------------------------------------------------------------the main problem area.
465 return;
466 }
467
468 // Attach site-root to relative links, if they have a slash in them
469 if($url == "" || $url[0] == '?' || (substr($url,0,4) != "http" && $url[0] != "/" && strpos($url,'/') !== false)){
470 $url = Director::baseURL() . $url;
Has anyone managed to get paypal express to work with eventmenagement.
Thank you.