Donations don’t appear in orders list backend
-
Hello,
I have a question about your plugin. I have used it to create a donation button. Now I’m testing it with Paypal sandbox. I can complete donation but it doesn’t appear in orders list in backend. Why? Is it due to the fact that my website in running on a different server instead of WordPress hosting? If that’s the case, can you tell me the url IPN for my Paypal account? Thanks
-
@anna2890, Do you have the debug option enabled in the plugin settings? If not please enable debug and make a test purchase so I can check it.
Hello Noor,
I have enabled debug and made a test donation.
That’s debug log:
[April 28, 2020 3:48 pm] – SUCCESS :Received IPN from PayPal
[April 28, 2020 3:48 pm] – SUCCESS :
Array
(
[mc_gross] => 1.00
[protection_eligibility] => Ineligible
[payer_id] => 4T6QYEEKPKXM4
[payment_date] => 08:48:38 Apr 28, 2020 PDT
[payment_status] => Pending
[charset] => windows-1252
[first_name] => Test
[mc_fee] => 0.38
[notify_version] => 3.9
[custom] =>
[payer_status] => verified
[business] => [email protected]
[quantity] => 1
[verify_sign] => APJcBrX7qQZI2NqZoN9Bj1u5q7DdAPmC9wr2N-J5MJEk9L-cHr-LGp0w
[payer_email] => [email protected]
[txn_id] => 589893229H1852039
[payment_type] => instant
[last_name] => Test
[receiver_email] => [email protected]
[payment_fee] =>
[shipping_discount] => 0.00
[receiver_id] => M34N46TLGXPTY
[pending_reason] => paymentreview
[insurance_amount] => 0.00
[txn_type] => web_accept
[item_name] => Donazione
[discount] => 0.00
[mc_currency] => EUR
[item_number] =>
[residence_country] => IT
[test_ipn] => 1
[shipping_method] => Default
[transaction_subject] =>
[payment_gross] =>
[ipn_track_id] => c5bcd4d222d58
)
[April 28, 2020 3:48 pm] – SUCCESS :Checking if IPN response is valid via https://www.sandbox.paypal.com/cgi-bin/webscr
[April 28, 2020 3:48 pm] – SUCCESS :IPN Request:
[April 28, 2020 3:48 pm] – SUCCESS :
Array
(
[body] => Array
(
[cmd] => _notify-validate
[mc_gross] => 1.00
[protection_eligibility] => Ineligible
[payer_id] => 4T6QYEEKPKXM4
[payment_date] => 08:48:38 Apr 28, 2020 PDT
[payment_status] => Pending
[charset] => windows-1252
[first_name] => Test
[mc_fee] => 0.38
[notify_version] => 3.9
[custom] =>
[payer_status] => verified
[business] => [email protected]
[quantity] => 1
[verify_sign] => APJcBrX7qQZI2NqZoN9Bj1u5q7DdAPmC9wr2N-J5MJEk9L-cHr-LGp0w
[payer_email] => [email protected]
[txn_id] => 589893229H1852039
[payment_type] => instant
[last_name] => Test
[receiver_email] => [email protected]
[payment_fee] =>
[shipping_discount] => 0.00
[receiver_id] => M34N46TLGXPTY
[pending_reason] => paymentreview
[insurance_amount] => 0.00
[txn_type] => web_accept
[item_name] => Donazione
[discount] => 0.00
[mc_currency] => EUR
[item_number] =>
[residence_country] => IT
[test_ipn] => 1
[shipping_method] => Default
[transaction_subject] =>
[payment_gross] =>
[ipn_track_id] => c5bcd4d222d58
)[sslverify] =>
[timeout] => 60
[httpversion] => 1.1
[compress] =>
[decompress] =>
[user-agent] => WP PayPal/1.1.8
)
[April 28, 2020 3:48 pm] – SUCCESS :IPN Response:
[April 28, 2020 3:48 pm] – SUCCESS :
Array
(
[headers] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[cache-control] => max-age=0, no-cache, no-store, must-revalidate
[content-encoding] => gzip
[content-type] => text/html; charset=UTF-8
[date] => Tue, 28 Apr 2020 15:48:46 GMT
[paypal-debug-id] => c1ab8461de6ed
[set-cookie] => Array
(
[0] => c9MWDuvPtT9GIMyPc3jwol1VSlO=VRs7D3oC39m_7N1-dcltvxMv92oFQHfCUEHuNiWYZMi2IiQsTiaAo3JLhkIbVZ0O8fPb2Dwfty8RFrV6k_bLeoPCRPpPAPUVU8-FiqklFXDn5bN55bEJPUY358S81XG8lcpbv9fQn6jdBjnM5fPKu_4LVg7d2IiIxWTUVlHIJ_DrSndqdZNfKfgRlynPHBkIDSXON2KsdSko1wb_QoQ3iJB3ypI3V_mKsUNG95nOqYphvbRntJsViVQZR82Pok1dyWwclX9MOEEolHRwVjI3QWUDB-ijPf5VptCQAgC7b9cCbJKxeYGG523iL0W_XcYgUS1EX3fBVCVgNdHC0zaA7hm_BG3xWHAR3–BbcNTpm76vBnlheuIM62Hw85g0DxzNtOLAHkGeuZ9f5Lbx9ZLvhfSvaeCDx9CAjCcXYOu3lpD3P5mkTcLctsYy8a; Path=/; Domain=paypal.com; HttpOnly; Secure
[1] => cookie_check=yes; Path=/; Domain=paypal.com; Expires=Fri, 26 Apr 2030 15:48:47 GMT; HttpOnly; Secure
[2] => navcmd=_notify-validate; Path=/; Domain=paypal.com; HttpOnly; Secure
[3] => navlns=0.0; Path=/; Domain=paypal.com; Expires=Thu, 28 Apr 2022 15:48:47 GMT; HttpOnly; Secure
[4] => Apache=10.72.108.11.1588088926743931; Path=/
[5] => X-PP-SILOVER=name%3DSANDBOX3.WEB.1%26silo_version%3D880%26app%3Dappdispatcher%26TIME%3D1588088927%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Tue, 28 Apr 2020 16:18:47 GMT; HttpOnly; Secure
[6] => X-PP-L7=1; Path=/; Domain=paypal.com; Secure
)[vary] => Accept-Encoding,User-Agent
[x-frame-options] => SAMEORIGIN
[content-length] => 34
[strict-transport-security] => max-age=63072000
))
[body] => VERIFIED
[response] => Array
(
[code] => 200
[message] => OK
)[cookies] => Array
(
[0] => WP_Http_Cookie Object
(
[name] => c9MWDuvPtT9GIMyPc3jwol1VSlO
[value] => VRs7D3oC39m_7N1-dcltvxMv92oFQHfCUEHuNiWYZMi2IiQsTiaAo3JLhkIbVZ0O8fPb2Dwfty8RFrV6k_bLeoPCRPpPAPUVU8-FiqklFXDn5bN55bEJPUY358S81XG8lcpbv9fQn6jdBjnM5fPKu_4LVg7d2IiIxWTUVlHIJ_DrSndqdZNfKfgRlynPHBkIDSXON2KsdSko1wb_QoQ3iJB3ypI3V_mKsUNG95nOqYphvbRntJsViVQZR82Pok1dyWwclX9MOEEolHRwVjI3QWUDB-ijPf5VptCQAgC7b9cCbJKxeYGG523iL0W_XcYgUS1EX3fBVCVgNdHC0zaA7hm_BG3xWHAR3--BbcNTpm76vBnlheuIM62Hw85g0DxzNtOLAHkGeuZ9f5Lbx9ZLvhfSvaeCDx9CAjCcXYOu3lpD3P5mkTcLctsYy8a
[expires] =>
[path] => /
[domain] => paypal.com
[host_only] =>
)[1] => WP_Http_Cookie Object
(
[name] => cookie_check
[value] => yes
[expires] => 1903448927
[path] => /
[domain] => paypal.com
[host_only] =>
)[2] => WP_Http_Cookie Object
(
[name] => navcmd
[value] => _notify-validate
[expires] =>
[path] => /
[domain] => paypal.com
[host_only] =>
)[3] => WP_Http_Cookie Object
(
[name] => navlns
[value] => 0.0
[expires] => 1651160927
[path] => /
[domain] => paypal.com
[host_only] =>
)[4] => WP_Http_Cookie Object
(
[name] => Apache
[value] => 10.72.108.11.1588088926743931
[expires] =>
[path] => /
[domain] => https://www.sandbox.paypal.com
[host_only] => 1
)[5] => WP_Http_Cookie Object
(
[name] => X-PP-SILOVER
[value] => name=SANDBOX3.WEB.1&silo_version=880&app=appdispatcher&TIME=1588088927&HTTP_X_PP_AZ_LOCATOR=sandbox.slc
[expires] => 1588090727
[path] => /
[domain] => paypal.com
[host_only] =>
)[6] => WP_Http_Cookie Object
(
[name] => X-PP-L7
[value] => 1
[expires] =>
[path] => /
[domain] => paypal.com
[host_only] =>
))
[filename] =>
[http_response] => WP_HTTP_Requests_Response Object
(
[response:protected] => Requests_Response Object
(
[body] => VERIFIED
[raw] => HTTP/1.1 200 OK
Cache-Control: max-age=0, no-cache, no-store, must-revalidate
Content-Encoding: gzip
Content-Type: text/html; charset=UTF-8
Date: Tue, 28 Apr 2020 15:48:46 GMT
Paypal-Debug-Id: c1ab8461de6ed
Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=VRs7D3oC39m_7N1-dcltvxMv92oFQHfCUEHuNiWYZMi2IiQsTiaAo3JLhkIbVZ0O8fPb2Dwfty8RFrV6k_bLeoPCRPpPAPUVU8-FiqklFXDn5bN55bEJPUY358S81XG8lcpbv9fQn6jdBjnM5fPKu_4LVg7d2IiIxWTUVlHIJ_DrSndqdZNfKfgRlynPHBkIDSXON2KsdSko1wb_QoQ3iJB3ypI3V_mKsUNG95nOqYphvbRntJsViVQZR82Pok1dyWwclX9MOEEolHRwVjI3QWUDB-ijPf5VptCQAgC7b9cCbJKxeYGG523iL0W_XcYgUS1EX3fBVCVgNdHC0zaA7hm_BG3xWHAR3--BbcNTpm76vBnlheuIM62Hw85g0DxzNtOLAHkGeuZ9f5Lbx9ZLvhfSvaeCDx9CAjCcXYOu3lpD3P5mkTcLctsYy8a; Path=/; Domain=paypal.com; HttpOnly; Secure
Set-Cookie: cookie_check=yes; Path=/; Domain=paypal.com; Expires=Fri, 26 Apr 2030 15:48:47 GMT; HttpOnly; Secure
Set-Cookie: navcmd=_notify-validate; Path=/; Domain=paypal.com; HttpOnly; Secure
Set-Cookie: navlns=0.0; Path=/; Domain=paypal.com; Expires=Thu, 28 Apr 2022 15:48:47 GMT; HttpOnly; Secure
Set-Cookie: Apache=10.72.108.11.1588088926743931; Path=/
Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.WEB.1%26silo_version%3D880%26app%3Dappdispatcher%26TIME%3D1588088927%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Tue, 28 Apr 2020 16:18:47 GMT; HttpOnly; Secure
Set-Cookie: X-PP-L7=1; Path=/; Domain=paypal.com; Secure
Vary: Accept-Encoding,User-Agent
X-Frame-Options: SAMEORIGIN
Content-Length: 34
Connection: close
Strict-Transport-Security: max-age=63072000VERIFIED
[headers] => Requests_Response_Headers Object
(
[data:protected] => Array
(
[cache-control] => Array
(
[0] => max-age=0, no-cache, no-store, must-revalidate
)[content-encoding] => Array
(
[0] => gzip
)[content-type] => Array
(
[0] => text/html; charset=UTF-8
)[date] => Array
(
[0] => Tue, 28 Apr 2020 15:48:46 GMT
)[paypal-debug-id] => Array
(
[0] => c1ab8461de6ed
)[set-cookie] => Array
(
[0] => c9MWDuvPtT9GIMyPc3jwol1VSlO=VRs7D3oC39m_7N1-dcltvxMv92oFQHfCUEHuNiWYZMi2IiQsTiaAo3JLhkIbVZ0O8fPb2Dwfty8RFrV6k_bLeoPCRPpPAPUVU8-FiqklFXDn5bN55bEJPUY358S81XG8lcpbv9fQn6jdBjnM5fPKu_4LVg7d2IiIxWTUVlHIJ_DrSndqdZNfKfgRlynPHBkIDSXON2KsdSko1wb_QoQ3iJB3ypI3V_mKsUNG95nOqYphvbRntJsViVQZR82Pok1dyWwclX9MOEEolHRwVjI3QWUDB-ijPf5VptCQAgC7b9cCbJKxeYGG523iL0W_XcYgUS1EX3fBVCVgNdHC0zaA7hm_BG3xWHAR3--BbcNTpm76vBnlheuIM62Hw85g0DxzNtOLAHkGeuZ9f5Lbx9ZLvhfSvaeCDx9CAjCcXYOu3lpD3P5mkTcLctsYy8a; Path=/; Domain=paypal.com; HttpOnly; Secure
[1] => cookie_check=yes; Path=/; Domain=paypal.com; Expires=Fri, 26 Apr 2030 15:48:47 GMT; HttpOnly; Secure
[2] => navcmd=_notify-validate; Path=/; Domain=paypal.com; HttpOnly; Secure
[3] => navlns=0.0; Path=/; Domain=paypal.com; Expires=Thu, 28 Apr 2022 15:48:47 GMT; HttpOnly; Secure
[4] => Apache=10.72.108.11.1588088926743931; Path=/
[5] => X-PP-SILOVER=name%3DSANDBOX3.WEB.1%26silo_version%3D880%26app%3Dappdispatcher%26TIME%3D1588088927%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Path=/; Domain=paypal.com; Expires=Tue, 28 Apr 2020 16:18:47 GMT; HttpOnly; Secure
[6] => X-PP-L7=1; Path=/; Domain=paypal.com; Secure
)[vary] => Array
(
[0] => Accept-Encoding,User-Agent
)[x-frame-options] => Array
(
[0] => SAMEORIGIN
)[content-length] => Array
(
[0] => 34
)[strict-transport-security] => Array
(
[0] => max-age=63072000
))
)
[status_code] => 200
[protocol_version] => 1.1
[success] => 1
[redirects] => 0
[url] => https://www.sandbox.paypal.com/cgi-bin/webscr
[history] => Array
(
)[cookies] => Requests_Cookie_Jar Object
(
[cookies:protected] => Array
(
[c9MWDuvPtT9GIMyPc3jwol1VSlO] => Requests_Cookie Object
(
[name] => c9MWDuvPtT9GIMyPc3jwol1VSlO
[value] => VRs7D3oC39m_7N1-dcltvxMv92oFQHfCUEHuNiWYZMi2IiQsTiaAo3JLhkIbVZ0O8fPb2Dwfty8RFrV6k_bLeoPCRPpPAPUVU8-FiqklFXDn5bN55bEJPUY358S81XG8lcpbv9fQn6jdBjnM5fPKu_4LVg7d2IiIxWTUVlHIJ_DrSndqdZNfKfgRlynPHBkIDSXON2KsdSko1wb_QoQ3iJB3ypI3V_mKsUNG95nOqYphvbRntJsViVQZR82Pok1dyWwclX9MOEEolHRwVjI3QWUDB-ijPf5VptCQAgC7b9cCbJKxeYGG523iL0W_XcYgUS1EX3fBVCVgNdHC0zaA7hm_BG3xWHAR3--BbcNTpm76vBnlheuIM62Hw85g0DxzNtOLAHkGeuZ9f5Lbx9ZLvhfSvaeCDx9CAjCcXYOu3lpD3P5mkTcLctsYy8a
[attributes] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[path] => /
[domain] => paypal.com
[httponly] => 1
[secure] => 1
))
[flags] => Array
(
[creation] => 1588088928
[last-access] => 1588088928
[persistent] =>
[host-only] =>
)[reference_time] => 1588088928
)[cookie_check] => Requests_Cookie Object
(
[name] => cookie_check
[value] => yes
[attributes] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[path] => /
[domain] => paypal.com
[expires] => 1903448927
[httponly] => 1
[secure] => 1
))
[flags] => Array
(
[creation] => 1588088928
[last-access] => 1588088928
[persistent] =>
[host-only] =>
)[reference_time] => 1588088928
)[navcmd] => Requests_Cookie Object
(
[name] => navcmd
[value] => _notify-validate
[attributes] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[path] => /
[domain] => paypal.com
[httponly] => 1
[secure] => 1
))
[flags] => Array
(
[creation] => 1588088928
[last-access] => 1588088928
[persistent] =>
[host-only] =>
)[reference_time] => 1588088928
)[navlns] => Requests_Cookie Object
(
[name] => navlns
[value] => 0.0
[attributes] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[path] => /
[domain] => paypal.com
[expires] => 1651160927
[httponly] => 1
[secure] => 1
))
[flags] => Array
(
[creation] => 1588088928
[last-access] => 1588088928
[persistent] =>
[host-only] =>
)[reference_time] => 1588088928
)[Apache] => Requests_Cookie Object
(
[name] => Apache
[value] => 10.72.108.11.1588088926743931
[attributes] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[path] => /
[domain] => https://www.sandbox.paypal.com
))
[flags] => Array
(
[creation] => 1588088928
[last-access] => 1588088928
[persistent] =>
[host-only] => 1
)[reference_time] => 1588088928
)[X-PP-SILOVER] => Requests_Cookie Object
(
[name] => X-PP-SILOVER
[value] => name%3DSANDBOX3.WEB.1%26silo_version%3D880%26app%3Dappdispatcher%26TIME%3D1588088927%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc
[attributes] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[path] => /
[domain] => paypal.com
[expires] => 1588090727
[httponly] => 1
[secure] => 1
))
[flags] => Array
(
[creation] => 1588088928
[last-access] => 1588088928
[persistent] =>
[host-only] =>
)[reference_time] => 1588088928
)[X-PP-L7] => Requests_Cookie Object
(
[name] => X-PP-L7
[value] => 1
[attributes] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[path] => /
[domain] => paypal.com
[secure] => 1
))
[flags] => Array
(
[creation] => 1588088928
[last-access] => 1588088928
[persistent] =>
[host-only] =>
)[reference_time] => 1588088928
))
)
)
[filename:protected] =>
[data] =>
[headers] =>
[status] =>
))
[April 28, 2020 3:48 pm] - SUCCESS :Received valid response from PayPal
[April 28, 2020 3:48 pm] - SUCCESS :Payment Status - Pending
[April 28, 2020 3:48 pm] - FAILURE :This payment cannot be processed@anna2890, Thank you. The payment is not fully completed. It’s pending. That’s why the plugin did not process it.
Hello Noor,
Does pending state depend from the fact that I have enabled Paypal sandbox test and I’m using test accounts? Because when I make the donation a message says that it’s completed and it appears in my test account recap. So when I use real accounts will the plugin process payments?
@anna2890, Sandbox/test purchases can also be completed. As long as PayPal sends a notification of a completed purchase the order will be processed by the plugin.
Hello Noor,
My developer tells me that he needs paypal ipn url otherwise Paypal doesn’t know to what endpoint sending notification. Thanks.
@anna2890, I’m not sure why your need it. The plugin is already telling PayPal where to send the notification for a particular purchase.
Do you have a page with the donate button so I can find it for your site?
@anna2890, Thanks. The IPN URL is:
https://hht.test3d0.it/?wp_paypal_ipn=1
- The topic ‘Donations don’t appear in orders list backend’ is closed to new replies.