PayPal IPN fails after payment Order still Pending Due to Sh404SEF

Started by johnyDev, January 07, 2016, 20:56:14 PM

Previous topic - Next topic

johnyDev

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 ?

GJC Web Design

why r u using sh404?

it adds a huge overhead and complexity to what native J/VM is already doing...
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

johnyDev

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 ?


 


 

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

johnyDev

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 ?

GJC Web Design

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?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation