- Posts: 11
- Thank you received: 0
Fatal error on checkout using paypal advanced
- mlevin@cfisa.org
-
Topic Author
- Offline
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.5.23
-- Browser(s) name and version -- : firefox 38.0.5
-- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to a member function enqueueMessage() on a non-object in /home/server/public_html/dev/plugins/hikashoppayment/paypaladvanced/paypaladvanced.php on line 209
I'm using the Paypal Advanced payment plugin and get the following error when a user clicks the "Return to the merchant" link on the final step in checkout.
Fatal error: Call to a member function enqueueMessage() on a non-object in /home/server/public_html/dev/plugins/hikashoppayment/paypaladvanced/paypaladvanced.php on line 209
The payment goes through as it should and the user is logged into the site. Also, the cart doesn't clear out either. The product is still there.
Please Log in or Create an account to join the conversation.
Thanks for the report ; we will update the plugin as soon as possible.
You can already edit the plugin and replace
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- mlevin@cfisa.org
-
Topic Author
- Offline
- Posts: 11
- Thank you received: 0
The code edit seems to have fixed the issue with the error.
However, clicking on the "Return to Merchant" link loads my site in the iframe window. And the cart still shows the product in it.
Please Log in or Create an account to join the conversation.
Could you try with the javascript console of your browser opened so that you can see the potential javascript errors happening during that last step ?
Do you get any error ?
Regarding the cart still showing, I think that this could be solved directly by changing the option "Clean cart when order is" of the Hikashop configuration.
Otherwise, would it be possible for you to provide us with a way to reproduce the issue on your website so that we can look at the situation closely ?
Please Log in or Create an account to join the conversation.
- mlevin@cfisa.org
-
Topic Author
- Offline
- Posts: 11
- Thank you received: 0
I fixed the cart clearing issue.
In the paypal manager under Payment Confirmation there is an option to add a Return URL and Show confirmation page on my website. I've set this to yes and used the full url to the page on my site i'd like them redirected to. I've also added the same Return url in the Paypal Advanced plugin. Clicking on the "Return to Merchant" link still loads my sites homepage in the iframe window.
I can give you access to my site in a PM if that's ok.
Please Log in or Create an account to join the conversation.
You can send the access via our contact form and don't forget to give us the url of that topic in the message
Please Log in or Create an account to join the conversation.
A backend access is great but that doesn't help as we still can look at the issue.
As I asked 2 weeks ago
First we'll need a link to a product page, to be able to add the product to the cart and do the checkout.Otherwise, would it be possible for you to provide us with a way to reproduce the issue on your website so that we can look at the situation closely ?
Second, we'll need a way to do a fake payment on PayPal advanced to see what happens after it.
So please provide that so that we can move forward.
Please Log in or Create an account to join the conversation.
Thank you for the access. We found the issue and fixed it on your website.
Here is a new version of the plugin which will be included in the next version of HikaShop to fix that if anyone else needs it.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
- mlevin@cfisa.org
-
Topic Author
- Offline
- Posts: 11
- Thank you received: 0
where can i make adjustments to the paypal iframe style?
specifically, i'd like to remove the shadowed border of the paypal payment box.
Please Log in or Create an account to join the conversation.
Here is a general tutorial explaining ho to find what CSS to use and where to place it:
www.hikashop.com/support/support/documen...ize-the-display.html
Please Log in or Create an account to join the conversation.