VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: rmhumm on June 07, 2016, 17:42:33 PM

Title: Paypal Cancel Transaction says my site does not work
Post by: rmhumm on June 07, 2016, 17:42:33 PM
Using Joomla 3.4.4 and Virtuemart 3.0.14 PHP 5.6.22

When a Paypal transaction is canceled, the return address is no good and the message says my site does not work.

I use "URL rewriting" and the return address has included "index.php" in the return address.  Don't know if it's relevant but taking "index.php" out of the return address does not go anywhere either.

Any ideas on where to catch and correct this?

Thanks.
Title: Re: Paypal Cancel Transaction says my site does not work
Post by: GJC Web Design on June 07, 2016, 18:23:27 PM
telling us exactly what the "broken" address is would be a start..  ;)
Title: Re: Paypal Cancel Transaction says my site does not work
Post by: rmhumm on June 07, 2016, 22:35:45 PM
Here is what comes back:

https://website.com/index.php?option=com_virtuemart&view=vmplg&task=pluginUserPaymentCancel&on=1H1S021&pm=3&Itemid=118&lang=

The website.com page isn't working
website.com is currently unable to handle this request.
500
Title: Re: Paypal Cancel Transaction says my site does not work
Post by: GJC Web Design on June 07, 2016, 23:11:40 PM
the url is correct -- the server throws a 500 error

plenty on here about what to do next for finding what that error is

could be the pdf invoice generation etc

search on here.. has been answered many times before
Title: Re: Paypal Cancel Transaction says my site does not work
Post by: alatak on June 08, 2016, 11:31:21 AM
Hello
You probably have a fatal error.
turn on the PHP developer mode in the VM config, and test again the Cancel URL.
You will have the reason of the 500 error.
Title: Re: Paypal Cancel Transaction says my site does not work
Post by: rmhumm on June 08, 2016, 23:03:13 PM
Stumbled into the solution, fortunately when I passed on the name of the site I used website.com instead of yoursite.com.

When I went to test again, I typed in www.website.com and voila, it worked.

So, the result: https://www.website.com/index.php/? etc. works and https://website.com/index.php/? etc does not work.

The host made a server change to force www. and the Paypal Cancel transaction now works.

Thanks all for the assistance.
Title: Re: Paypal Cancel Transaction says my site does not work
Post by: AH on June 09, 2016, 09:31:04 AM
thanks for the update