News:

Support the VirtueMart project and become a member

Main Menu

No Redirect to paypal

Started by webba, August 12, 2015, 22:18:07 PM

Previous topic - Next topic

webba

Hello guys,
I have a problem with the paypal redirect.
After a few configuration and css implementation I can't anymore complete succsefull a payment trought PayPal...after the order confirmation there is no redirect to paypal.
Can anyone help me please?
here below the log:
Joomla 3.4.3
Virtuemart 3.0.9.4
web site:  http://sensolibero.it/shop/shop-online.html

DEBUG ERROR
PayPal request::
Array
(
        [cmd]   ⇒   _ext-enter
        [redirect_cmd]   ⇒   _xclick
        [paymentaction]   ⇒   sale
        [upload]   ⇒   1
        [business]   ⇒   info@webba.it
        [receiver_email]   ⇒   info@webba.it
        [order_number]   ⇒   fca3016
        [invoice]   ⇒   fca3016
        [custom]   ⇒   nhummbuftnbgdocq71ndu547p3
        [currency_code]   ⇒   EUR
        [address_override]   ⇒   1
        [first_name]   ⇒   Sensolibero   S.r.l.
        [last_name]   ⇒   Sensolibero   S.r.l.
        [address1]   ⇒   Via   Trebbia   107
        [address2]   ⇒ 
        [zip]   ⇒   20020
        [city]   ⇒   Cesate
        [state]   ⇒   MB
        [country]   ⇒   IT
        [email]   ⇒   info@webba.it
        [night_phone_b]   ⇒   0245077948
        [return]   ⇒   http://sensolibero.it/index.php?option=com_virtuemart&view=vmplg&task=pluginresponsereceived&on=fca3016&pm=5&Itemid=1222&lang=
        [notify_url]   ⇒   http://sensolibero.it/index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component&lang=
        [cancel_return]   ⇒   http://sensolibero.it/index.php?option=com_virtuemart&view=vmplg&task=pluginUserPaymentCancel&on=fca3016&pm=5&Itemid=1222&lang=
        [rm]   ⇒   2
        [bn]   ⇒   VirtueMart_Cart_PPA
        [no_shipping]   ⇒   0
        [no_note]   ⇒   1
        [cpp_header_image]   ⇒   http://sensolibero.it/images/stories/virtuemart/payment/paypal.png
        [item_name]   ⇒   Ordine   Numero:   fca3016
        [amount]   ⇒   19.5
)

I would really appreciate any help.
Thanks!

Regards
Giorgio

jjk

I don't see a shipment method selected in your debug file, so the order probably is not complete yet and clicking 'Confirm order' should ask the customer to select a shipment method. Do you have a shipment method published?

Also I wonder if '[redirect_cmd]   ⇒   _xclick' is correct. Mine shows '[redirect_cmd] => _cart'.
Did you select a PayPal service option which is available in your country? PayPal might not offer all services in your country.

An off topic hint: Your page loads a 2.5mb image into the slideshow. That increases your loading time quite a bit and resizing the huge image to the small display size takes a lot of cpu time and memory on your server.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

webba

Hi jjk,
thanks for your reply but unfortunately didn't solve my problem.
Yes I have a correctly set a shipment method.
Did you select a PayPal service option which is available in your country? - Yes I did it...

An off topic hint: Your page loads a 2.5mb image into the slideshow. That increases your loading time quite a bit and resizing the huge image to the small display size takes a lot of cpu time and memory on your server. - Thanks for the off topic, I will update it.

Any Help please to solve my problem?
Thanks


jjk

#4
Do you use by chance the 'Reviver' or the 'Flatastic' template? Looking at your site with Firebug, I noticed your shop loads a file named vmprices2.js, which afaik is an old module originally written by Patrick (Studio 42) and distributed with those templates. If you do use one of these templates (Don't know if the 'developer' of those created more like those meanwhile), I would strongly recommend to get rid of that. Those 'template' distributions contain heaviliy hacked VirtueMart files, which will most likely break something whenever you want to update VM. Especially you can't use the original VM distribution to update your shop.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Studio 42

Hi Joerg,
I checked, it's not exactly my file, but i think they don't have change the author.
If you see all plugin having my name on it...

Cool for me, this make me some free advertising :)

But at all, they use my default text input plugin, with only some line changes. And some sold this for Higher price as my own plugins.
I think, i had to get some royalties !  8)

Grreets,
Patrick kohl

anatom09

Quote from: jjk on August 15, 2015, 20:42:14 PM
Do you use by chance the 'Reviver' or the 'Flatastic' template? Looking at your site with Firebug, I noticed your shop loads a file named vmprices2.js, which afaik is an old module originally written by Patrick (Studio 42) and distributed with those templates. If you do use one of these templates (Don't know if the 'developer' of those created more like those meanwhile), I would strongly recommend to get rid of that. Those 'template' distributions contain heaviliy hacked VirtueMart files, which will most likely break something whenever you want to update VM. Especially you can't use the original VM distribution to update your shop.

Unfortunately you are confirming my worst fears. I am using Flatastic template and I always had problem updating virtuemart using the original VM updates. Now I know why... Thanks.

Magev88

Hello, i have the same problem, and this is my Paypal debug when i try to be redirect to the paypal payment page, after make an order on my site:
[cmd]   ⇒   _ext-enter
        [redirect_cmd]   ⇒   _cart
        [paymentaction]   ⇒   sale
        [upload]   ⇒   1
        [business]   ⇒   rocks@rocks-4x4.it
        [receiver_email]   ⇒   rocks@rocks-4x4.it
        [order_number]   ⇒   36b905
        [invoice]   ⇒   36b905
        [custom]   ⇒   80e0qhsvq9b9gmvb5tgodj7pi0
        [currency_code]   ⇒   EUR
        [first_name]   ⇒   Mario
        [last_name]   ⇒   Rossi
        [address1]   ⇒   Via Verdi 89
        [address2]   ⇒  
        [zip]   ⇒   00100
        [city]   ⇒  
        [state]   ⇒   RM
        [country]   ⇒   IT
        [email]   ⇒   manuel@mail.it
        [night_phone_b]   ⇒   061234568
        [return]   ⇒   http://www.rocks-4x4.it/index.php?option=com_virtuemart&view=vmplg&task=pluginresponsereceived&on=36b905&pm=5&Itemid=452&lang=it
        [notify_url]   ⇒   http://www.rocks-4x4.it/index.php?option=com_virtuemart&view=vmplg&task=notify&tmpl=component&lang=it
        [cancel_return]   ⇒   http://www.rocks-4x4.it/index.php?option=com_virtuemart&view=vmplg&task=pluginUserPaymentCancel&on=36b905&pm=5&Itemid=452&lang=it
        [rm]   ⇒   2
        [bn]   ⇒   VirtueMart_Cart_PPA
        [no_shipping]   ⇒   0
        [no_note]   ⇒   1
        [image_url]   ⇒   http://www.rocks-4x4.it/images/stories/virtuemart/vendor/logo-rocks.png
        [item_name_1]   ⇒   SUNTOP   Cargo   Top   U2     Nero
        [item_number_1]   ⇒   JKCTBK2
        [amount_1]   ⇒   288
        [quantity_1]   ⇒   1
        [handling_cart]   ⇒   0
)
I'm using the latest VM version and Flatastic Virtuemart template... how can i do to solve this issue?

Thank you so much