Forums

Paypal not working from chronoconnectivity edit button

bubila 26 Mar, 2014
Hi there,
I'm using the paypal redirect full action in two forms: the first one is a booking form for a transfer service and it works perfectly, the second one is used to update the reservation and is used in a form called from the edit button in a ChronoConnectivity list.
The parameters I've entered in the action are correct but whenever someone try to update the reservation paying with paypal, the website redirects them to a blank page an nothing more happens.
I don't know if it could be of any help, but this paypal redirect actions are both called under an Event Switcher Action, everything works fine except for the paypal redirect in the update form, do you have some clues on what could go wrong?

Thanks a lot

PS in the paypal action, under the currency field the hint says:"Your 2 characters currency code." but instead Paypal APIs requires a 3 characters string
GreyHead 26 Mar, 2014
Hi elisa,

Is the 'blank' page completely blank? If so, please see this FAQ

If it is just showing the template but no form then it may be an SEF URL problem. What is the URL you see when the error occurs?

Bob
bubila 26 Mar, 2014
The page is totally blank, i'm now turning the error reporting to maximum to see if I can get more on this, I'll get back to you as soon as I have something more
thanks a lot
bubila 26 Mar, 2014
Ok, now that I've changed the error reporting I can't even access the list of reservation, as I try to do that
I get this error: Fatal error: Call to undefined method RuntimeException::get()
and I'm afraid that something might be wrong with Joomla, because it happens also when I try to access the booking form page that has always worked properly.
GreyHead 26 Mar, 2014
Hi Elisa,

Not something that I've seen before but Googling the error shows quite a few reports - mainly of problems with upgrading Joomla!

Please make sure that you have the latest versions of CC & CFv4 for Joomla! 3 just in case there is a problem there.

Bob
bubila 26 Mar, 2014
Hi Bob
I'm sure I have the lastest versions of CC and CF, I googled too the error and, rising the debugging level, I kinda found other strange things so I guess my next try will be updating joomla files and see what happens, the strange thing is that this problem with the paypal redirect happens only when the user try to update the reservation but, when making a booking from scratch everything works flawlessly, thanks as usual for the help, I'll keep you posted
bubila 26 Mar, 2014
Hi Bob, after a good couple of hours trying to figure out what it was.. I finally managed to get an error that could make sense:
"Fatal error: Class 'JParameter' not found in .../components/com_chronoforms/form_actions/paypal_redirect/paypal_redirect.php on line 17"
and looking throughout your forum I found this http://www.chronoengine.com/forums/posts/f2/t92730.html
should I ask Max for the redirect action? (still I don't get why the same redirect works on a form and don't on another)
The only difference I've noticed is that on one form everything's working like a charm on the other (the one where I get the error) I have a notice (Constant DS already defined in .../components/com_chronoforms/chronoforms.php on line 11)
any suggestion on how I may fix this is greatly appreciated
thanks a lot
I'll go back to my google search🙂
GreyHead 26 Mar, 2014
Hi Elisa,

Both of those look like problems that come from code changes in Joomla! 3 (the way that DS and JParameter are handled both changed). I expect that Max has an updated version of the PayPal action, please check with him using the Contact Us link above.

Like you, I'm not sure why this would affect one form but not the other :-(

Bob
bubila 26 Mar, 2014
Ok, I'm contacting Max, thanks a lot for your help😀
This topic is locked and no more replies can be posted.