Problem with CSS/Template on last step of check out before paypal

Started by Tobes, July 25, 2013, 17:00:40 PM

Previous topic - Next topic

Maxim Pishnyak

Could you post here page source of bugged web page? As forum attachment or with the help of code tags pls.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Tobes

Hi Max,

Im going to pm you the code as I dont want the url to my site public on a forum right now, pm'ing you now.

Thanks

Tobes

Maxim Pishnyak

Try this

"return" => JROUTE::_ (substr(JURI::root(false,''),0,-1) . 'index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived&on=' . $order['details']['BT']->order_number . '&pm=' . $order['details']['BT']->virtuemart_paymentmethod_id . '&Itemid=' . JRequest::getInt('Itemid')),

or this dirty variant

"return" => JROUTE::_ (JURI::root () . '/V5/index.php?option=com_virtuemart&view=pluginresponse&task=pluginresponsereceived&on=' . $order['details']['BT']->order_number . '&pm=' . $order['details']['BT']->virtuemart_paymentmethod_id . '&Itemid=' . JRequest::getInt('Itemid')),

still you could copy css and js folders of your joomla template to your web site root folder
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Tobes

Hi Max,

Neither of those worked for me.

In the end I have duplicated my template folder into my root folder, this is not what I wanted to do, because Virtumart links should be relative and its a but messy to have to duplicate a template, but its working, so I suppose thats better than it not working :)

Thanks for all your help Max, I really appreciate it.

Maxim Pishnyak

Heh, you're welcome, Tobes.

We need some civilized workaround for this issue in paypal plugin.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

alatak

Hello

Quotep.s you can see the line where I added /V5/ to the url which fixed the return path for the IPN, maybe I should implement Alatak's hack she posted here http://forum.virtuemart.net/index.php?topic=101478.msg396870#msg396870
Modify message
Yes you should. It is not a hack. It was a bug :)

alatak

Hello Tobes,

Strange indeed.
Can you please PM me, i will have a look.

romatvirtue

Hi there. Did this issue get resolved? I am facing the same exact issue and can't find a solution.

I hope to hear back from you soon.

Thanks.

Tobes

Quote from: romatvirtue on August 23, 2013, 04:00:36 AM
Hi there. Did this issue get resolved? I am facing the same exact issue and can't find a solution.

I hope to hear back from you soon.

Thanks.

my issue was the website was not stored in the root directory and so on checkout the payment gateway was looking for files that were not in the root folder, if you stop the automatic redirect page during checkout you will see the page that is messed up (blank, no css) you can then view source, check the urls in the code and you will see some pointing to folders in your root directory that wont be there if your default joomla site is outside the root folder (for example www.mysite.com/shop/) my solution was to copy the folders it was trying to link to from my joomla install folder and copied them in to the root folder, then on checkout as you are redirected to paypal you will now see the correct redirect page on the way out, its a messy fix but it worked for me.

doak-vm

I have the same problem. The 'cart/confirm' page only partially opens ( see cart-confirm.jpg ). Anybody have any ideas. The header files loading are in cart-confirm-head.jpg. I noticed some inline styles loading last.

To see page html go to:  http://hewlynnhomeandgardencenter.com/cart-confirm.txt

http://hewlynnhomeandgardencenter.com/hewlynn-online-store

Thanks

j 2.5.16
v 2.0.26d
php 5.3.24

[attachment cleanup by admin]

retizotyo

Hello Everybody on this forum!

Same problem here too with PayPal plugin using the following setup:

Joomla! 2.5.22 Stable
VirtueMart 2.6.6 (of course with AIO)
Apache version: 2.2.26
PHP version: 5.3.28

Standard payment works fine with no problems.
PayPal plugin generally works (data fetching and so on), but on the redirecting page, the template falls to pieces.
The template is my own work, but I have the same errors with Joomla's default templates: atomic, beez_20, beez5.
Problem is the same with all PayPal products, but I would like to set up the PayPal Express Checkout

I have tried the ways mentioned before but in my case nothing solved the problems...
It looks like we found a big bug  :o

PS
my site look very similar what doak-vm posted before this post!
Some css elements are loading but most are missing...

ITechnoDev

Quote from: retizotyo on July 16, 2014, 14:37:28 PM
Hello Everybody on this forum!

Same problem here too with PayPal plugin using the following setup:

Joomla! 2.5.22 Stable
VirtueMart 2.6.6 (of course with AIO)
Apache version: 2.2.26
PHP version: 5.3.28

Standard payment works fine with no problems.
PayPal plugin generally works (data fetching and so on), but on the redirecting page, the template falls to pieces.
The template is my own work, but I have the same errors with Joomla's default templates: atomic, beez_20, beez5.
Problem is the same with all PayPal products, but I would like to set up the PayPal Express Checkout

I have tried the ways mentioned before but in my case nothing solved the problems...
It looks like we found a big bug  :o

PS
my site look very similar what doak-vm posted before this post!
Some css elements are loading but most are missing...

Is your website in a subfolder ?
Extensions for VirtueMart : http://www.itechnodev.com

retizotyo

I realized the problem first on my local machine (WAMP) - in this case, the website is/was in the root folder.
Then I uploaded it to a live server, in this case,the site is/was in a subfolder.
I guess it's not different, but I tested my site in Sandbox mode...

Any suggestions?

retizotyo

Still having this failure...
Can somebody help?

I checked the URLs of the css files I want to load. The URLs are fine, but it seems that somthing is blocking them...
I tried also enabling/disabling the jQuery loading in the VM config, but nothing happens.

BIG BUG  :-\