@jelica, Send a test IPN to http://yoursite.com/?wp_paypal_ipn=1 and see what happens.
Thread Starter
jelica
(@jelica)
Hi Noor, i see the message Empty PayPal IPN Request.
After i remembered to remove my htacces protection on website I did tests again.. still no orders in admin but now i see in issue log
[November 2, 2020 5:17 pm] - SUCCESS :Received IPN from PayPal
[November 2, 2020 5:17 pm] - SUCCESS :
Array
(...)
[November 2, 2020 5:17 pm] - SUCCESS :IPN Response:
[November 2, 2020 5:17 pm] - SUCCESS :
Array
(..)
[November 2, 2020 5:17 pm] - SUCCESS :Received valid response from PayPal
[November 2, 2020 5:17 pm] - SUCCESS :Payment Status - Pending
[November 2, 2020 5:17 pm] - FAILURE :This payment cannot be processed
I shorten the arrays, it all seems fine just pending…
Hm, how it can be pending, when on sandbox account i see that is payed, there is no pending status anywhere, the review payments is set to off for this account and i see that money is subtracted from balance..
What he paypal settings should be in order of the plugin to show orders?
Thank you Noor for your support!
@jelica, Is this log from the IPN simulator or have you made a test purchase? PayPal actually has a documentation for pending payments: https://www.paypal.com/us/brc/article/funds-availability
Thread Starter
jelica
(@jelica)
That one was from site, now i tested from paypal sandbox, ipn simulator, I checked Transaction type eCkeck -complete.
Got the message
IPN was sent and the handshake was verified.
And on the website debug i see a lot of arrays and at the end
[November 5, 2020 7:47 am] – SUCCESS :Received valid response from PayPal
[November 5, 2020 7:47 am] – SUCCESS :Payment Status – Completed
[November 5, 2020 7:47 am] – FAILURE :Seller PayPal ID ([email protected]) and Receiver PayPal ID ([email protected]) do not match. This payment cannot be processed.
Thread Starter
jelica
(@jelica)
Hm after this i checked settings, I am an idiot email and merchantId were switched. Now when the setting are correct, I repeat ipn simulator test
[November 5, 2020 8:02 am] – SUCCESS :Received valid response from PayPal
[November 5, 2020 8:02 am] – SUCCESS :Payment Status – Completed
[November 5, 2020 8:02 am] – FAILURE :Seller PayPal ID (*********) and Receiver PayPal ID ([email protected]) do not match. This payment cannot be processed.
and when i test from website I get pending…
-
This reply was modified 5 years, 7 months ago by
jelica.
-
This reply was modified 5 years, 7 months ago by
jelica.
@jelica, So what was the original issue? It looks like your site is receiving the test IPN from PayPal. This error will obviously not happen in live mode because your seller IDs will match.
Thread Starter
jelica
(@jelica)
The issue is i dont see orders in admin, if it will work in live then no issues π will do a test with live once just to check
Thread Starter
jelica
(@jelica)
Hi Noor, me again.
After setting up my site live, i tested paypal with 0.01eur for real. Payment went well, but in orders on website order did not appear…
Debug is also empty. Now the order was completed, I saw in account. So it works, but I would like to see orders in admin…
my_callback_function (){}
add_action('wp_paypal_ipn_processed', 'my_callback_function');
This function is not called at all… And i would like to see ion response, since I am also sending custom params to paypal..
heeelp
@jelica, I’m not really sure what is happening. But an empty debug file means the plugin is not receiving any notification from your live PayPal account. You do have IPN enabled in your live PayPal account right?
Thread Starter
jelica
(@jelica)
It wooorks, ipn was not enabled, thanks for a great plugin.
Can you please tell me how to send custom param to paypal with your wp_paypal shortcode?
i need to send for example user = 11252432435