IPN Fonction en sadbox pas en production

ph-envigne
Contributeur
Contributeur

Bonjour,

 

Depuis plusieurs jours, les paiements paypal de mes clients reste "en attente de paiement" en mode production; or en mode sandbox cela fonctionne parfaitement. L'adresse mail indiqué dans la configuration Paypal du Woocommerce est la même que celle titulaire du compte Paypal.


Ayant une seconde société, je dispose donc d'un deuxième compte paypal business j'ai essayer en indiquant l'identifant de ce compte dans mon site et cela fonctionne en mode sandbox et live. le statut des commande passent bien en "en cours".

 

Je précise sur les deux compte paypal business le système IPN est désactivé. Le compte paypal de la première société est actif sur 3 e-commerces. Dans tous les essais effectués avant de vous contacter j'ai bien été crédité des paiements seuls le statut ne change pas.

 

Informations techniques : Site internet Wordpress, Woocommerce, à très fort traffic sur Serveur Dédié bare métal sous Ubuntu & Plesk

log achat et statut ok compte paypal second societe

2020-03-[Removed. Phone #s not permitted]INFO Generating payment form for order 92118. Notify URL: https://mondomain.com/wc-api/WC_Gateway_Paypal/
2020-03-[Removed. Phone #s not permitted]INFO PayPal Request Args for order 92118: Array
(
[cmd] => _cart
[business] => monmailsecondcomptepaypal
[no_note] => 1
[currency_code] => EUR
[charset] => utf-8
[rm] => 2
[upload] => 1
[return] => https://mondomain.com/commande/order-received/92118/?key=wc_order_F04hw4a0xai7i&utm_nooverride=1
[cancel_return] => https://mondomain.com/panier/?cancel_order=true&order=wc_order_F04hw4a0xai7i&order_id=92118&redirect...
[page_style] =>
[image_url] =>
[paymentaction] => sale
[invoice] => DEMOPV-92118
[custom] => {"order_id":92118,"order_key":"wc_order_F04hw4a0xai7i"}
[notify_url] => https://vmondomain.com/wc-api/WC_Gateway_Paypal/
[first_name] => ***
[last_name] => ***
[address1] => ***
[address2] => ***
[city] => ***
[state] => ***
[zip] => ***
[country] => ***
[email] => ***@***
[night_phone_a] => ***
[night_phone_b] => ***
[address_override] => 0
[no_shipping] => 0
[tax_cart] => 0.02
[item_name_1] => produits-test
[quantity_1] => 1
[amount_1] => 0.1
[item_number_1] =>
[bn] => WooThemes_Cart
)

2020-03-31T21:40:24+00:00 INFO Checking IPN response is valid
2020-03-31T21:40:26+00:00 INFO IPN Response: 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
[paypal-debug-id] => 7bcb6385e6452
[x-frame-options] => SAMEORIGIN
[content-length] => 34
[dc] => ccg11-origin-www-1.paypal.com
[date] => Tue, 31 Mar 2020 21:40:26 GMT
[vary] => Accept-Encoding
[set-cookie] => Array
(
[0] => cwrClyrK4LoCV1fydGbAxiNL6iG=OPlf8paOfunZeHLsVgumV4kFRYZgedEg3fowOlkU7SdiC8gvJC_rISGf0zVmZ4T_lz32vwSm9NMa_knIzfT-nGLV8ZJpIXPucX_I0hbUaFsBxlo4PrRT7w3dSviHMwptefCqJfujE-vOU07kWJrhb5noSqdGpwNMCueUweLM6A2iRxBUxQtssAQV0vCk2EWV2-Pq3BumTpdfEB_A2bK6DxPJnw1xX05LG4EO7ZmwCg0j72M3h4S6h-kKZCxdZwZ_8YeJTomsytMRvDmluDOVqKhW8BksbUHKTft9hFD9CUgu1RjiJmeAUceePTzZ9y6Iwm_mRCKYdQelS_2fj4qdBzIkl82vrXOgt2Vwjz45xhaK6vK0q0Y5tfPVkr7biqMdpT6Ia-LwSQsionXXMdilU6ZvKVipuAuvgbpMJPV2nthTgbDtbYXF8kgCd8u; Path=/; Domain=paypal.com; HttpOnly; Secure
[1] => cookie_check=yes; Path=/; Domain=paypal.com; Expires=Fri, 29 Mar 2030 21:40:26 GMT; HttpOnly; Secure
[2] => navcmd=_notify-validate; Path=/; Domain=paypal.com; HttpOnly; Secure
[3] => navlns=0.0; Path=/; Domain=paypal.com; Expires=Thu, 31 Ma[Removed. Phone #s not permitted]GMT; HttpOnly; Secure
[4] => X-PP-SILOVER=name%3DLIVE5.WEB.1%26silo_version%3D880%26app%3Dappdispatcher%26TIME%3D1585690826%26HTTP_X_PP_AZ_LOCATOR%3Ddcg01.phx; Path=/; Domain=paypal.com; Expires=Tue, 31 Mar 2020 22:10:26 GMT; HttpOnly; Secure
[5] => X-PP-L7=1; Path=/; Domain=paypal.com; Secure
[6] => akavpau_ppsd=1585691426~id=30a2f4ffb20463d0ca52d498f63d67ad; Domain=www.paypal.com; Path=/; Secure; SameSite=None
)

[strict-transport-security] => max-age=63072000
)

)

[body] => VERIFIED
[response] => Array
(
[code] => 200
[message] => OK
)

[cookies] => Array
(
[0] => WP_Http_Cookie Object
(
[name] => cwrClyrK4LoCV1fydGbAxiNL6iG
[value] => OPlf8paOfunZeHLsVgumV4kFRYZgedEg3fowOlkU7SdiC8gvJC_rISGf0zVmZ4T_lz32vwSm9NMa_knIzfT-nGLV8ZJpIXPucX_I0hbUaFsBxlo4PrRT7w3dSviHMwptefCqJfujE-vOU07kWJrhb5noSqdGpwNMCueUweLM6A2iRxBUxQtssAQV0vCk2EWV2-Pq3BumTpdfEB_A2bK6DxPJnw1xX05LG4EO7ZmwCg0j72M3h4S6h-kKZCxdZwZ_8YeJTomsytMRvDmluDOVqKhW8BksbUHKTft9hFD9CUgu1RjiJmeAUceePTzZ9y6Iwm_mRCKYdQelS_2fj4qdBzIkl82vrXOgt2Vwjz45xhaK6vK0q0Y5tfPVkr7biqMdpT6Ia-LwSQsionXXMdilU6ZvKVipuAuvgbpMJPV2nthTgbDtbYXF8kgCd8u
[expires] =>
[path] => /
[domain] => paypal.com
[host_only] =>
)

[1] => WP_Http_Cookie Object
(
[name] => cookie_check
[value] => yes
[expires] => 1901050826
[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] => 1648762826
[path] => /
[domain] => paypal.com
[host_only] =>
)

[4] => WP_Http_Cookie Object
(
[name] => X-PP-SILOVER
[value] => name=LIVE5.WEB.1&silo_version=880&app=appdispatcher&TIME=1585690826&HTTP_X_PP_AZ_LOCATOR=dcg01.phx
[expires] => 1585692626
[path] => /
[domain] => paypal.com
[host_only] =>
)

[5] => WP_Http_Cookie Object
(
[name] => X-PP-L7
[value] => 1
[expires] =>
[path] => /
[domain] => paypal.com
[host_only] =>
)

[6] => WP_Http_Cookie Object
(
[name] => akavpau_ppsd
[value] => 1585691426~id=30a2f4ffb20463d0ca52d498f63d67ad
[expires] =>
[path] => /
[domain] => www.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
Paypal-Debug-Id: 7bcb6385e6452
X-Frame-Options: SAMEORIGIN
Content-Length: 34
DC: ccg11-origin-www-1.paypal.com
Date: Tue, 31 Mar 2020 21:40:26 GMT
Connection: close
Vary: Accept-Encoding
Set-Cookie: cwrClyrK4LoCV1fydGbAxiNL6iG=OPlf8paOfunZeHLsVgumV4kFRYZgedEg3fowOlkU7SdiC8gvJC_rISGf0zVmZ4T_lz32vwSm9NMa_knIzfT-nGLV8ZJpIXPucX_I0hbUaFsBxlo4PrRT7w3dSviHMwptefCqJfujE-vOU07kWJrhb5noSqdGpwNMCueUweLM6A2iRxBUxQtssAQV0vCk2EWV2-Pq3BumTpdfEB_A2bK6DxPJnw1xX05LG4EO7ZmwCg0j72M3h4S6h-kKZCxdZwZ_8YeJTomsytMRvDmluDOVqKhW8BksbUHKTft9hFD9CUgu1RjiJmeAUceePTzZ9y6Iwm_mRCKYdQelS_2fj4qdBzIkl82vrXOgt2Vwjz45xhaK6vK0q0Y5tfPVkr7biqMdpT6Ia-LwSQsionXXMdilU6ZvKVipuAuvgbpMJPV2nthTgbDtbYXF8kgCd8u; Path=/; Domain=paypal.com; HttpOnly; Secure
Set-Cookie: cookie_check=yes; Path=/; Domain=paypal.com; Expires=Fri, 29 Mar 2030 21:40:26 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, 31 Ma[Removed. Phone #s not permitted]GMT; HttpOnly; Secure
Set-Cookie: X-PP-SILOVER=name%3DLIVE5.WEB.1%26silo_version%3D880%26app%3Dappdispatcher%26TIME%3D1585690826%26HTTP_X_PP_AZ_LOCATOR%3Ddcg01.phx; Path=/; Domain=paypal.com; Expires=Tue, 31 Mar 2020 22:10:26 GMT; HttpOnly; Secure
Set-Cookie: X-PP-L7=1; Path=/; Domain=paypal.com; Secure
Set-Cookie: akavpau_ppsd=1585691426~id=30a2f4ffb20463d0ca52d498f63d67ad; Domain=www.paypal.com; Path=/; Secure; SameSite=None
Strict-Transport-Security: max-age=63072000

VERIFIED
[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
)

[paypal-debug-id] => Array
(
[0] => 7bcb6385e6452
)

[x-frame-options] => Array
(
[0] => SAMEORIGIN
)

[content-length] => Array
(
[0] => 34
)

[dc] => Array
(
[0] => ccg11-origin-www-1.paypal.com
)

[date] => Array
(
[0] => Tue, 31 Mar 2020 21:40:26 GMT
)

[vary] => Array
(
[0] => Accept-Encoding
)

[set-cookie] => Array
(
[0] => cwrClyrK4LoCV1fydGbAxiNL6iG=OPlf8paOfunZeHLsVgumV4kFRYZgedEg3fowOlkU7SdiC8gvJC_rISGf0zVmZ4T_lz32vwSm9NMa_knIzfT-nGLV8ZJpIXPucX_I0hbUaFsBxlo4PrRT7w3dSviHMwptefCqJfujE-vOU07kWJrhb5noSqdGpwNMCueUweLM6A2iRxBUxQtssAQV0vCk2EWV2-Pq3BumTpdfEB_A2bK6DxPJnw1xX05LG4EO7ZmwCg0j72M3h4S6h-kKZCxdZwZ_8YeJTomsytMRvDmluDOVqKhW8BksbUHKTft9hFD9CUgu1RjiJmeAUceePTzZ9y6Iwm_mRCKYdQelS_2fj4qdBzIkl82vrXOgt2Vwjz45xhaK6vK0q0Y5tfPVkr7biqMdpT6Ia-LwSQsionXXMdilU6ZvKVipuAuvgbpMJPV2nthTgbDtbYXF8kgCd8u; Path=/; Domain=paypal.com; HttpOnly; Secure
[1] => cookie_check=yes; Path=/; Domain=paypal.com; Expires=Fri, 29 Mar 2030 21:40:26 GMT; HttpOnly; Secure
[2] => navcmd=_notify-validate; Path=/; Domain=paypal.com; HttpOnly; Secure
[3] => navlns=0.0; Path=/; Domain=paypal.com; Expires=Thu, 31 Ma[Removed. Phone #s not permitted]GMT; HttpOnly; Secure
[4] => X-PP-SILOVER=name%3DLIVE5.WEB.1%26silo_version%3D880%26app%3Dappdispatcher%26TIME%3D1585690826%26HTTP_X_PP_AZ_LOCATOR%3Ddcg01.phx; Path=/; Domain=paypal.com; Expires=Tue, 31 Mar 2020 22:10:26 GMT; HttpOnly; Secure
[5] => X-PP-L7=1; Path=/; Domain=paypal.com; Secure
[6] => akavpau_ppsd=1585691426~id=30a2f4ffb20463d0ca52d498f63d67ad; Domain=www.paypal.com; Path=/; Secure; SameSite=None
)

[strict-transport-security] => Array
(
[0] => max-age=63072000
)

)

)

[status_code] => 200
[protocol_version] => 1.1
[success] => 1
[redirects] => 0
[url] => https://www.paypal.com/cgi-bin/webscr
[history] => Array
(
)

[cookies] => Requests_Cookie_Jar Object
(
[cookies:protected] => Array
(
[cwrClyrK4LoCV1fydGbAxiNL6iG] => Requests_Cookie Object
(
[name] => cwrClyrK4LoCV1fydGbAxiNL6iG
[value] => OPlf8paOfunZeHLsVgumV4kFRYZgedEg3fowOlkU7SdiC8gvJC_rISGf0zVmZ4T_lz32vwSm9NMa_knIzfT-nGLV8ZJpIXPucX_I0hbUaFsBxlo4PrRT7w3dSviHMwptefCqJfujE-vOU07kWJrhb5noSqdGpwNMCueUweLM6A2iRxBUxQtssAQV0vCk2EWV2-Pq3BumTpdfEB_A2bK6DxPJnw1xX05LG4EO7ZmwCg0j72M3h4S6h-kKZCxdZwZ_8YeJTomsytMRvDmluDOVqKhW8BksbUHKTft9hFD9CUgu1RjiJmeAUceePTzZ9y6Iwm_mRCKYdQelS_2fj4qdBzIkl82vrXOgt2Vwjz45xhaK6vK0q0Y5tfPVkr7biqMdpT6Ia-LwSQsionXXMdilU6ZvKVipuAuvgbpMJPV2nthTgbDtbYXF8kgCd8u
[attributes] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[path] => /
[domain] => paypal.com
[httponly] => 1
[secure] => 1
)

)

[flags] => Array
(
[creation] => 1585690826
[last-access] => 1585690826
[persistent] =>
[host-only] =>
)

[reference_time] => 1585690826
)

[cookie_check] => Requests_Cookie Object
(
[name] => cookie_check
[value] => yes
[attributes] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[path] => /
[domain] => paypal.com
[expires] => 1901050826
[httponly] => 1
[secure] => 1
)

)

[flags] => Array
(
[creation] => 1585690826
[last-access] => 1585690826
[persistent] =>
[host-only] =>
)

[reference_time] => 1585690826
)

[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] => 1585690826
[last-access] => 1585690826
[persistent] =>
[host-only] =>
)

[reference_time] => 1585690826
)

[navlns] => Requests_Cookie Object
(
[name] => navlns
[value] => 0.0
[attributes] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[path] => /
[domain] => paypal.com
[expires] => 1648762826
[httponly] => 1
[secure] => 1
)

)

[flags] => Array
(
[creation] => 1585690826
[last-access] => 1585690826
[persistent] =>
[host-only] =>
)

[reference_time] => 1585690826
)

[X-PP-SILOVER] => Requests_Cookie Object
(
[name] => X-PP-SILOVER
[value] => name%3DLIVE5.WEB.1%26silo_version%3D880%26app%3Dappdispatcher%26TIME%3D1585690826%26HTTP_X_PP_AZ_LOCATOR%3Ddcg01.phx
[attributes] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[path] => /
[domain] => paypal.com
[expires] => 1585692626
[httponly] => 1
[secure] => 1
)

)

[flags] => Array
(
[creation] => 1585690826
[last-access] => 1585690826
[persistent] =>
[host-only] =>
)

[reference_time] => 1585690826
)

[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] => 1585690826
[last-access] => 1585690826
[persistent] =>
[host-only] =>
)

[reference_time] => 1585690826
)

[akavpau_ppsd] => Requests_Cookie Object
(
[name] => akavpau_ppsd
[value] => 1585691426~id=30a2f4ffb20463d0ca52d498f63d67ad
[attributes] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[domain] => www.paypal.com
[path] => /
[secure] => 1
[samesite] => None
)

)

[flags] => Array
(
[creation] => 1585690826
[last-access] => 1585690826
[persistent] =>
[host-only] =>
)

[reference_time] => 1585690826
)

)

)

)

[filename:protected] =>
[data] =>
[headers] =>
[status] =>
)

)

2020-03-31T21:40:26+00:00 INFO Received valid response from PayPal IPN
2020-03-31T21:40:26+00:00 INFO Found order #92118
2020-03-31T21:40:26+00:00 INFO Payment status: completed

log achat et statut non changé compte Paypal première société

 

2020-04-02T09:40:21+00:00 INFO Generating payment form for order 92122. Notify URL: https://mondomain.com/wc-api/WC_Gateway_Paypal/
2020-04-02T09:40:21+00:00 INFO PayPal Request Args for order 92122: Array
(
[cmd] => _cart
[business] => monmailpremiercomptepaypal
[no_note] => 1
[currency_code] => EUR
[charset] => utf-8
[rm] => 2
[upload] => 1
[return] => https://mondomain.com/commande/order-received/92122/?key=wc_order_RMip8fPiiGFhb&utm_nooverride=1
[cancel_return] => https://mondomain.com/panier/?cancel_order=true&order=wc_order_RMip8fPiiGFhb&order_id=92122&redirect...
[page_style] =>
[image_url] =>
[paymentaction] => sale
[invoice] => DEMOPV-92122
[custom] => {"order_id":92122,"order_key":"wc_order_RMip8fPiiGFhb"}
[notify_url] => https://mondomain.com/wc-api/WC_Gateway_Paypal/
[first_name] => ***
[last_name] => ***
[address1] => ***
[address2] => ***
[city] => ***
[state] => ***
[zip] => ***
[country] => ***
[email] => ***@***
[night_phone_a] => ***
[night_phone_b] => ***
[address_override] => 0
[no_shipping] => 0
[tax_cart] => 0.02
[item_name_1] => produits-test
[quantity_1] => 1
[amount_1] => 0.1
[item_number_1] =>
[bn] => WooThemes_Cart
)

Je vous remercie d'avance de l'intérêt que la communauté portera à ma demande.

Login to Me Too
0 RÉPONSES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.