News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

please wait while you are redirected to paypal

Started by antonino78, October 25, 2014, 12:29:14 PM

Previous topic - Next topic

alatak

Hello

Please try this file

The file is to be placed here plugins/vmpayment/paypal/paypal/helpers/paypalstd.php

[attachment cleanup by admin]

seyi

I find that the redirection text is there, it is just at the very bottom left, because the styling for the new messaging system is not loaded.  The styling for vmLoadingDiv is in
www/components/com_virtuemart/assets/css/vmsite-ltr.css

This file is not being loaded.  And also I could not find any css for vmLoadingDivMsg, so made up my own.  The final code I added to the template css:

.vmLoadingDiv {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 )
    url('../../components/com_virtuemart/assets/images/vm-preloader.gif')
    50% 50%
    no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
.vmLoading {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
.vmLoading .vmLoadingDiv {
    display: block;
}

.vmLoadingDivMsg {
background-color: #d31b1b;
border: 1px solid #CCCCCC;
border-radius: 4px;
display: block;
font-size: 2em;
font-weight: bold;
padding: 10px;
position: absolute;
top: 50px;
left: 50px;

}

Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

seyi

Nice, I totally missed that. Did not realize there was a page 2.  Oh well. :)
Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate

ettolo

#19
Hi,
after update to 1.6.12 i get this js error at confirm page instead of redirection to paypal

"Method startVmLoading does not exist on Vm2 front jQuery library "

With the paypal plugin file provided by Alatak (thanks) i can see the payapal button but the error is still there and no automatic redirection to paypal

Any idea?
Thank you!

alatak

Hello

Some templates compress the js file. It might be the reason.
You have to delete it, and create a new one.

retizotyo

Quote from: seyi on November 08, 2014, 23:31:01 PM
I find that the redirection text is there, it is just at the very bottom left, because the styling for the new messaging system is not loaded.
...

Exactly the same here!
Is there a way to modify the code to load the text 'Please wait while you are redirected to paypal ' in the main content DIV (for example, right after the Thank you text)?
I have no experience with CDATA and such things  :-\

On my local coding laptop it takes up to 8 seconds to redirect to PayPal Sandbox. During VM is fetching data to post to paypal it looks like the site stopped without spinner gif or message at it's right place...

Any suggestions are welcome!