VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: demaluca on April 08, 2018, 00:28:56 AM

Title: Paypal not working: redirects me to my homepage
Post by: demaluca on April 08, 2018, 00:28:56 AM
Hi,
i'me an urgent trouble.

Paypal stopped working.

When i click on "proceed order" it redirects me to my homepage (not PayPal!!!) and order status is in pending.

Settings of VM Paypal plugin is ok.

Latest version of Joomla and VM too.

Help please!!!
Title: Re: Paypal not working: redirects me to my homepage
Post by: Jörgen on April 08, 2018, 10:13:13 AM
Hello demaluca

We´re here to help ;)

What versions of Joomla Do You use exactly. Jommla 3.8.6 and VM 3.2.14 ?
Is this a new install or an upgrade ?
What PHP version ?
Are You using SEF ?

What happened when Paypal stopped working ? Did something change VM ?, Joomla, PHP version, Upgrade / Install of another component ?

Please come back with some more detail.  :)

Jörgen @ Kreativ Fotografi
Title: Re: Paypal not working: redirects me to my homepage
Post by: demaluca on April 08, 2018, 12:32:42 PM
Hi there

Joomla 3.8.6
VM 3.2.14

PHP 7.1

Yes, i'm using Friendly URL's

I don't think it's something related to an update since i've restored a backup and issue stand still...

If you want you can check (i'll send credentials via PM)

Thanks
Title: Re: Paypal not working: redirects me to my homepage
Post by: GJC Web Design on April 08, 2018, 12:34:03 PM
You are much more likely to receive help if u just post the url so others can have a quick look
Title: Re: Paypal not working: redirects me to my homepage
Post by: demaluca on April 08, 2018, 12:38:46 PM
Quote from: GJC Web Design on April 08, 2018, 12:34:03 PM
You are much more likely to receive help if u just post the url so others can have a quick look
Here it is www.jniemann.it
Title: Re: Paypal not working: redirects me to my homepage
Post by: GJC Web Design on April 08, 2018, 13:05:01 PM
It appears to be some sort of routing problem

the Post on your confirm is  https://www.jniemann.it/carrello which returns a 303 response

it doesn't seem to be calc. the correct view, task etc

Do a test with SEF switched off .. if this works then double check this menu item carrello

also try switching on the default template also as a check
Title: Re: Paypal not working: redirects me to my homepage
Post by: demaluca on April 08, 2018, 13:31:52 PM
Quote from: GJC Web Design on April 08, 2018, 13:05:01 PM
It appears to be some sort of routing problem

the Post on your confirm is  https://www.jniemann.it/carrello which returns a 303 response

it doesn't seem to be calc. the correct view, task etc

Do a test with SEF switched off .. if this works then double check this menu item carrello

also try switching on the default template also as a check

Thanks, i've done both but issue remains
Title: Re: Paypal not working: redirects me to my homepage
Post by: GJC Web Design on April 08, 2018, 14:02:37 PM
You need to be more proactive!

What were the results?

What was the post url?
what was the response?  etc etc
Title: Re: Paypal not working: redirects me to my homepage
Post by: demaluca on April 08, 2018, 14:08:34 PM
Quote from: GJC Web Design on April 08, 2018, 14:02:37 PM
You need to be more proactive!

What were the results?

What was the post url?
what was the response?  etc etc

Results are the same: process order > back to homepage
Order in pending, no email.

Exactly the same.

I've disabled SEF URL's and switched to Protostar theme.

I'll send to you a PM with credentials.
Title: Re: Paypal not working: redirects me to my homepage
Post by: GJC Web Design on April 09, 2018, 10:12:53 AM
All fixed  -- was a poorly coded payment plugin from http://satispay.com breaking the confirm order logic

code fxed