VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: supermanu59 on February 02, 2016, 23:37:05 PM

Title: Need help with orders update
Post by: supermanu59 on February 02, 2016, 23:37:05 PM
Hello everyone,

I make a shop with joomla 5.2 and VM 2.6.6 ans I have a problem that I can't fix.
When the order is paid by paypal, the order status is "confirmed", but when I change the "status" as shipped, the status returns to "confirmed" several minutes after...

Can anybody help me?

(Excuse my english, I'm french)

Sincerely

Manu
Title: Re: Need help with orders update
Post by: GJC Web Design on February 03, 2016, 01:04:55 AM
start here: http://forum.virtuemart.net/index.php?topic=79799.0
the versions you give are not possible
Title: Re: Need help with orders update
Post by: supermanu59 on February 03, 2016, 01:10:30 AM
Sorry, I meant joomla 2.5 and vm 2.6.6...
Title: Re: Need help with orders update
Post by: GJC Web Design on February 03, 2016, 01:16:30 AM
well the current latest stable VM2.6 is 2.6.22

I think the obvious 1st step is to use the latest version... with all appropriate health warnings

for the actual problem have you checked e.g. access logs to see if the Paypal IPN is being resubmitted? (Although I think the std. VM Paypal plugin should ignore this)
Title: Re: Need help with orders update
Post by: supermanu59 on February 03, 2016, 01:25:51 AM
Thanks for your answer

I have "ERROR checkPaypalIps: Error with REMOTE IP ADDRESS = 173.0.82.126." in log

Indeed I think that the Paypal IPN is being resubmitted, but what can I do to solve this?
Title: Re: Need help with orders update
Post by: supermanu59 on February 03, 2016, 02:01:28 AM
Just install the vm 2.6.12 and same issue...
Title: Re: Need help with orders update
Post by: GJC Web Design on February 03, 2016, 10:00:42 AM
the latest is 2.6.22
Title: Re: Need help with orders update
Post by: supermanu59 on February 04, 2016, 00:33:43 AM
Unfortunately same problem..

Can it be a bad servor configuration?
Title: Re: Need help with orders update
Post by: Milbo on February 05, 2016, 00:12:10 AM
reverse proxy, check the new config option, first tab
Title: Re: Need help with orders update
Post by: supermanu59 on February 05, 2016, 09:44:31 AM
Thank you very much for your answer.

I try to understand where can I find the reverse proxy informations of my server.
I have a dedicated "kimsufi" server.
When I look into my ovh manager, it seems that the reverse of my server is a thing like "ksXXXXXXX.kimsufi.com."
But If I put this on the reverse proxy field of vm, I have the same issue.

Update
My paypal IPN History show 503 responses and the status is on "retrying"
Title: Re: Need help with orders update
Post by: supermanu59 on February 07, 2016, 06:59:16 AM
Using the sandbox, I had this paypal error in logs

[paypal_res] => HTTP/1.1 200 OK
Server: Apache
X-Frame-Options: SAMEORIGIN
Cache-Control: max-age=0, no-cache, no-store, must-revalidate
Pragma: no-cache
Paypal-Debug-Id: b3146df8598ea
Cache-Control: max-age=0, no-cache, no-store, must-revalidate
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
DC: slc-b-origin-www-1.paypal.com
Date: Fri, 05 Feb 2016 18:51:49 GMT
Content-Length: 7
Connection: close
Set-Cookie: cwrClyrK4LoCV1fydGbAxiNL6iG=lQ6pxnGp5kGV0i_MLG2ClSO6aTiEjqfbzPQPg6Pa1qc6uEbTeBBe3cqVmhYWw1IVde6GtzonQzTt0YmKJ_wAGU1hjs8I-Z4RBrbz5RHxeE0bT3PtSeY3oxosLeI8vj4miAo4Dbg4HYqxYYfWyCx5L7qBeLbY10jALLtWXepJnrkz_pjVRRyAqQaGx3CKm_unReAHGHCMe3cMgQNAClyZmVQzmdOkFglZOflSxPFT2r00aY11OPj04IxIhOxGmcmTRTA259a4aeWdh9iVKoAJ6aunvpR4mZPJUiitNsp5-PkfQ1VEq-5yC0hB0Xn9UMsMoNYT1IrXUBEkzxBt4yPt8FbrICAmVZf1PBDAMEq1r-duvv_YYjNsCntWWcJkehvZFDvwc6YjRvKCceLL5ha6C1q5UmjmqmznMRzrvY0zsauVTLQQsDdP0ySB6lm; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: cookie_check=yes; expires=Mon, 02-Feb-2026 18:51:49 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navlns=0.0; expires=Sun, 04-Feb-2018 18:51:49 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: X-PP-SILOVER=name%3DLIVE6.WEB.1%26silo_version%3D880%26app%3Dappdispatcher%26TIME%3D1173337174; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT
Set-Cookie: AKDC=slc-b-origin-www-1.paypal.com; expires=Fri, 05-Feb-2016 19:21:49 GMT; path=/; secure
Strict-Transport-Security: max-age=63072000

INVALID
)


Does it mean something to someone?
Thank you
Title: Re: Need help with orders update
Post by: Milbo on February 08, 2016, 00:28:53 AM
Did you find the option in the vm config and the tooltip?

"ksXXXXXXX.kimsufi.com."

You need a php variable, maybe ask your hoster
Title: Re: Need help with orders update
Post by: supermanu59 on February 08, 2016, 07:45:12 AM
Yes I found the field in the vm config, but it doesn't work.
Is there a way to add the reverse adress directly in the code?
I have a dedicated server, so pehraps I have to do something with it to make the ipn work...
Thank you
Title: Re: Need help with orders update
Post by: Milbo on February 08, 2016, 08:40:42 AM
For that we have the config, using the IP would be unsecure and just disable the function