VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: guardiano78 on January 03, 2018, 13:00:47 PM

Title: Order status after payment [SOLVED]
Post by: guardiano78 on January 03, 2018, 13:00:47 PM
Hello,
after payment success with paypal processor, order status remain to "Pending".
I tried with sandbox and production.
I attach my paypal configuration.

How can i solve?

thank you.




joomla 3.7.5 - virtuemart 3.2.2
Title: Re: Order status after payment
Post by: guardiano78 on January 05, 2018, 18:44:13 PM
no one ever had this problem?
Title: Re: Order status after payment
Post by: aftertaf on January 06, 2018, 00:43:08 AM
you have any error.log files with incorrect IP message ?
Title: Re: Order status after payment
Post by: Jörgen on January 06, 2018, 19:37:08 PM
Have You checked Your paypal.xx.log.php file.

You can find it iin Your log directory.

I there are lines that report invalid IP from Paypal IPN You might have problems with a proxy or Your host has changed Your IP, this can give the impression that the Ipn from Paypal comes from Your site instead.

regards

Jögen @ Kreativ Fotografi

Title: Re: Order status after payment
Post by: guardiano78 on January 08, 2018, 10:08:56 AM
Hello,
it works!!
i suppose that the problem was related to the Platform on test.
i tested it on a server without domain, that work with my modification in hosts file.
I tested the process payment in a real domain and it works.
What do you think? is my guess correct?

Thanks.
Title: Re: Order status after payment
Post by: Jörgen on January 08, 2018, 10:25:51 AM
Probably, what was Your test platform ?

regards

Jörgen @ Kreativ Fotografi
Title: Re: Order status after payment
Post by: guardiano78 on January 08, 2018, 10:54:38 AM
I have some space on hosting server that i use for testing my website.
This space is not linked to a real domain like www.mydomain.com , but i'm able to use it adding a string in my hosts file like this:

110.11.211.2 mydomain.com www.mydomain.com //this is only an example

I think that paypal server is not able to resolve the dns and response fail.

What do you think about it?
Title: Re: Order status after payment
Post by: Jörgen on January 08, 2018, 11:43:51 AM
Yes, I would guess this would be the cause. Good that You made it work.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Order status after payment
Post by: guardiano78 on January 08, 2018, 12:09:56 PM
thank you for help!
bye.