VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: Worklive on June 25, 2018, 16:01:16 PM

Title: Paypal Standard Problem Redirect and mails error!
Post by: Worklive on June 25, 2018, 16:01:16 PM
Hi, I am using Joomla! 3.8.8 and VirtueMart 3.2.14

I'm having problems with payment "Paypal Standard".

Once you have submitted the order, Virtuemart redirects correctly to the Paypal site, the payment is successful but the button "Return to Seller's site" on the paypal site redirects to a white page.

The payment is successful, but the seller receives continuous mail errors, saying going to see in the log folder "paypal.2.log.php", inside of it there is this:

2018-06-21 17:13:43 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-21 17:13:58 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-21 17:14:25 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-21 17:15:10 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-21 17:16:39 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-21 17:19:23 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-21 17:24:50 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-21 17:35:33 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-21 17:56:59 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-21 18:39:45 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-21 20:05:11 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-21 22:55:56 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-22 04:37:24 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-22 16:00:12 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-23 14:45:40 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-23 16:31:07 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-23 16:31:25 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-23 16:31:49 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-23 16:32:37 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-23 16:34:01 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-23 16:36:46 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-23 16:42:10 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-23 16:52:58 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-23 17:14:23 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-23 17:57:07 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-23 19:22:34 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-23 22:13:19 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-24 03:54:45 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL
2018-06-24 15:17:35 ERROR validateIpnContent: Invalid IPN validation: NO RESPONSE FROM PAYPAL

I do not understand how to solve the problem, can someone help me?

Thanks
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Jörgen on June 25, 2018, 16:51:27 PM
Has it ever worked ? Have You tried a Sandbox Paypal test first?

regards

Jörgen @ Kreativ Fotografi
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Studio 42 on June 26, 2018, 16:10:19 PM
If you see a blank page, your paypal settings are certainly bad.
Check the plugin settings and if you have not forced some setting in paypal about return URL.
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Worklive on June 27, 2018, 22:19:50 PM
Quote from: Jörgen on June 25, 2018, 16:51:27 PM
Has it ever worked ? Have You tried a Sandbox Paypal test first?

regards

Jörgen @ Kreativ Fotografi

Hello Jörgen, thanks for your answer

I also tried in that mode but the result is the same.

I'm creating now that site and Virtuamerat / Paypal Standard is the first time I use them.
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Worklive on June 27, 2018, 22:24:09 PM
Quote from: Studio 42 on June 26, 2018, 16:10:19 PM
If you see a blank page, your paypal settings are certainly bad.
Check the plugin settings and if you have not forced some setting in paypal about return URL.

Hello Studio 42, thanks for your answer.

On the plugin of paypal I can't make any changes.

So I didn't set any redirection.

Should I do it? If yes, where I can find it?

The url that me returns paypal is this:

http://newbiosrl.altervista.org/index.php?option=com_virtuemart&view=vmplg&task=pluginresponsereceived&on=WI9P013&pm=2&Itemid=386
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Jörgen on June 27, 2018, 23:03:33 PM
You don´t make any changes in the plugin. You make it in the payment method. Please check Your settings.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Studio 42 on June 28, 2018, 03:27:26 AM
Is this solved? I dont see any blank page.
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Worklive on June 30, 2018, 16:39:02 PM
Quote from: Studio 42 on June 28, 2018, 03:27:26 AM
Is this solved? I dont see any blank page.

This is my configuration:
Image 1: http://newbiosrl.altervista.org/paypal/configuration%201.png
Image 2: http://newbiosrl.altervista.org/paypal/configuration%202.png
Image 3: http://newbiosrl.altervista.org/paypal/configuration%203.png
Image 4: http://newbiosrl.altervista.org/paypal/configuration%204.png
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Worklive on June 30, 2018, 16:59:35 PM
Quote from: Studio 42 on June 28, 2018, 03:27:26 AM
Is this solved? I dont see any blank page.

I saw this just now: if I click now on the link that showed me the white page...now correctly shows the redirect page.

Then I tried to do an other proof of payment, but once payment is made successfully if I try to return to the site of the seller here is that again white page.

Here is a screenshot: http://newbiosrl.altervista.org/paypal/white%20page.png

If you want to do a test to verify what I say, I'll leave you under the data login to paypal test that you can use to buy and the data of a user that I just registered on this site:

Paypal Sandbox Account
User: worklive-facilitator@live.it
Pass: worklive-facilitator

Joomla Login Front-end:
User: test
Pass: test

Site: newbiosrl.altervista.org

The language is only Italian (Sorry)
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Studio 42 on June 30, 2018, 23:31:38 PM
No blank page, full tested from cart>paymant>and return to site
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Worklive on July 01, 2018, 16:30:22 PM
Quote from: Studio 42 on June 30, 2018, 23:31:38 PM
No blank page, full tested from cart>paymant>and return to site

I also tried now with the same credentials.

You're right, I don't know why, but with this account (test), now the redirect works correctly.

The problem is that the payment is made successfully, now redirects successfully, but the seller receives continuous mail of the error and the buyer continue mail his summary of the order.

Seller Mails: http://newbiosrl.altervista.org/paypal/error-mail.png
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Studio 42 on July 01, 2018, 18:45:18 PM
Disable Check Ipn provider IP, the problem is that certainly the server IP check do not work for you.
The setting exist because in some case this fail(because paypal use multiple IPs). This is an extra security check, but should be safe without IP check.
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Worklive on July 02, 2018, 14:40:07 PM
Quote from: Studio 42 on July 01, 2018, 18:45:18 PM
Disable Check Ipn provider IP, the problem is that certainly the server IP check do not work for you.
The setting exist because in some case this fail(because paypal use multiple IPs). This is an extra security check, but should be safe without IP check.

I've disabled that option as you told me but continue to get the seller's e-mail error as before...
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Studio 42 on July 03, 2018, 00:05:22 AM
Please contact the paypal team, they have certainly the answer, perhaps this have nothing to do with virtuemart, i had already similar problem and they found a solution.
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Worklive on July 04, 2018, 01:36:07 AM
Quote from: Studio 42 on July 03, 2018, 00:05:22 AM
Please contact the paypal team, they have certainly the answer, perhaps this have nothing to do with virtuemart, i had already similar problem and they found a solution.

Ok thanks I will try send email to paypal.

Doing the tests on the same official website (loaded on a paid server), in this moment:

- The payment is redirected correctly (to both the gone and to the return)
- Payment is made successfully
- Now the seller is not receiving any mail error

The problem is that the seller both the buyer receive infinite email summary of the order.
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Studio 42 on July 04, 2018, 03:17:37 AM
If the website run fine on another server, i think that you have some restriction or server use a proxy, cache(cloud) or similar issue.
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Jörgen on July 04, 2018, 05:41:54 AM
Is this maybe your mailserver resending the mail? Check smtp settings
Regards
Jörgen @ Kreativ Fotografi
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Worklive on July 08, 2018, 19:58:03 PM
Quote from: Jörgen on July 04, 2018, 05:41:54 AM
Is this maybe your mailserver resending the mail? Check smtp settings
Regards
Jörgen @ Kreativ Fotografi

Are these ok?

Setting SMTP: http://newbiosrl.altervista.org/paypal/settings-mail.png
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Studio 42 on July 08, 2018, 21:34:57 PM
Check with the "Send test mail" button (see in your screenshot.
If the test is good, then use same email in your shop settings
Title: Re: Paypal Standard Problem Redirect and mails error!
Post by: Jörgen on July 08, 2018, 22:09:22 PM
I had trouble using PHP mail, switched to SMTP and that workes much better.

regards

Jörgen @ Kreativ Fotografi