VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: johnyDev on January 07, 2016, 20:56:14 PM

Title: PayPal IPN fails after payment Order still Pending Due to Sh404SEF
Post by: johnyDev on January 07, 2016, 20:56:14 PM
Hello,

The Paypal works fine when disable SH404SEF component. But I can still access :

index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component


I can even see a die() message printed in plgVmOnPaymentNotification

in log fil after successful payment it print only this :

2016-01-07 11:18:38 MESSAGE plgVmConfirmedOrder: order number: T5CT03

So what is the matter ? how to debug and fix that ?
Title: Re: PayPal IPN fails after payment Order still Pending Due to Sh404SEF
Post by: GJC Web Design on January 07, 2016, 21:26:41 PM
why r u using sh404?

it adds a huge overhead and complexity to what native J/VM is already doing...
Title: Re: PayPal IPN fails after payment Order still Pending Due to Sh404SEF
Post by: johnyDev on January 07, 2016, 23:15:00 PM
First thank you for your help. I am glad the forum is still alive  :)

Why using SH404SEF ?

Answer: Just to improve SEO (avoid duplicate content, better url's, manage titles and descriptions from same place)

My question is is there a way to make it work with SH404SEF

Strange behavior:

SH404SEF enabled BUT exclude VirtueMart from configuration, still don't receive paypal notification.
Disable SH404SEF AND Joomla native SEF with .htaccess enabled I can receive paypal notification.

Any thoughts please ?


 


 
Title: Re: PayPal IPN fails after payment Order still Pending Due to Sh404SEF
Post by: GJC Web Design on January 08, 2016, 00:27:43 AM
Afraid  my thoughts are ..
that SH404 is totally unnecessary now days with J3/VM3..
a resource hog,
endless posts on here by people that have cart and registration problems with it,
endless 404's when they check their logs

you can finetune any url in Joomla/VM by careful attention to menu aliases etc
there are no duplicate urls in VM and special attention has been paid to the rel="canonical" in all VM pages

and IMHO the majority of posters on here give up on it and join the happy "au natural" url'rs
Title: Re: PayPal IPN fails after payment Order still Pending Due to Sh404SEF
Post by: johnyDev on January 08, 2016, 16:42:35 PM
Thank you for your replay. It really make sense. Now I have disabled sh404sef and disabled SEO option from Joomla configuration. But order still pending ! any suggestion ?
Title: Re: PayPal IPN fails after payment Order still Pending Due to Sh404SEF
Post by: GJC Web Design on January 08, 2016, 23:45:06 PM
so even with a successful Paypal confirmed payment the order remains on Pending?


Have you switched on debug and logging in the Paypal plugin?

the log will be in root folder/logs or log

you can see in your paypal account the ipns sent (std Paypal?) and what response the server sent (should be 200)

Have you triple checked things like status on confirmed etc?

If you manually Confirm an order in the admin does it do so without problems?