VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: ypwebshops on January 24, 2014, 20:51:33 PM

Title: [SOLVED]Virtuemart is not going to PayPal...
Post by: ypwebshops on January 24, 2014, 20:51:33 PM
Dear forum member...who can help me out with the follow problem:

- In my first webshop www.ledstrandballen.nl i use the latest version of virtuemart include PayPal module.
After the installation PayPal customers can choise this way of payment but when virtuemart have to go, to paypal...
the pagine will not load :S See below picture. Who can help me out?

Thanks a lot!!
(http://www.feestmetonsmee.nl/paypal.png)
Title: Re: Virtuemart is not going to PayPal...
Post by: jjk on January 24, 2014, 22:27:17 PM
I just tested a PayPal checkout on your website. I can see the following errors:

TypeError: $(...).chosen is not a function
.../feestmetonsmee.nl/ledstrandballen_nl/index.php/component/virtuemart/cart?Itemid=117
Line 39

Load denied by X-Frame-Options: ...paypal.com/nl/cgi-bin/webscr?cmd=_flow&SESSION=eohnrVf3uQCfLQsx_9uHjF9pwHdyFrMyKitnhdFEjj2Q6Q3MaP

dispatch=50a222a57771920b6a3d7b606239e4d529b525e0b7e69bf0224adecfb0124e9b61f737ba21b081986471f9b93cfa01e00b6362 does not permit cross-origin framing.

Line 0




(I cropped the encrypted characters a little bit in the above error messages)

I'm don't know what the exact issue is. I would suggest to try two things first:

1. enable/disable the 'Use jQuery chosen for dropdowns in FE' in VirtueMart Configuration > Templates tab
2. turn off the 'One Page Checkout' in VirtueMart Configuration > Checkout tab
Title: Re: Virtuemart is not going to PayPal...
Post by: ypwebshops on January 25, 2014, 11:05:56 AM
Dear JJK,

First of all, thanks for your help!  :D
Today i try the steps you told me, but i have still the problems.... :-X
Please could you help me out?
Title: Re: Virtuemart is not going to PayPal...
Post by: Peter Pillen on January 25, 2014, 15:40:46 PM
@JJK ... I found the error and posted the problem on the dutch vm forum. Paypal does not allow a checkout from a frame. Paypal widget.js sees a checkout coming from site A and is asked ot pay site B... a no go for paypal (clickjacking safety). YP disabled the frames on his site and the checkout worked normal again.
Title: Re: Virtuemart is not going to PayPal...
Post by: jjk on January 25, 2014, 20:10:48 PM
Good - I thought the 'One page checkout' might have opened within an iframe, but I didn't actually check for frames.  ;)
Title: Re: Virtuemart is not going to PayPal...
Post by: ypwebshops on January 27, 2014, 10:32:25 AM
Solved! Thanks guess  ;) 8)