Hallo zusammen, ich habe auch den PayPal: Could not register webhooks due to a communication failure {„message“:"Client error response Fehler.
Hier sehe ich uzum einen diskrepanzen in der webhook url:
Lt.Backend-Log: https://www.DOMAIN.de/PaypalUnifiedWebhook/execute
Lt. Anleitung: ‚https://example.com/paypal_unified_webhook/execute‘ ( https://community.shopware.com/Plugin-PayPal-Produkte_detail_2074_741.html#Konfiguration_der_API_Einstellungen )
Außerdem besagt die Logfile folgendes:
[2018-11-06 11:51:29] plugin.ERROR: PayPal: Could not register webhooks due to a communication failure {„message“:„Client error response [url] https://api.paypal.com/v1/notifications/webhooks [status code] 400 [reason phrase] Bad Request“,„payload“:"{„name“:„WEBHOOK_URL_ALREADY_EXISTS“,„message“:„Webhook URL already exists“,„debug_id“:„3659ec737737“,„information_link“:"https://developer.paypal.com/docs/api/webhooks/#errors",„details“:[],„links“:[]}"} {„uid“:„543e13a“}
Bei einer Plugin neuinstallation kam folgender fehler:
An exception occurred while executing ‚SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.template AS template_4, t0.class AS class_5, t0.table
AS table_6, t0.hide AS hide_7, t0.additionaldescription AS additionaldescription_8, t0.debit_percent AS debit_percent_9, t0.surcharge AS surcharge_10, t0.surchargestring AS surchargestring_11, t0.position AS position_12, t0.active AS active_13, t0.esdactive AS esdactive_14, t0.mobile_inactive AS mobile_inactive_15, t0.embediframe AS embediframe_16, t0.hideprospect AS hideprospect_17, t0.action AS action_18, t0.pluginID AS pluginID_19, t0.source AS source_20, t21.id AS id_22, t21.paymentmeanID AS paymentmeanID_23, t21.connect_is_allowed AS connect_is_allowed_24, t21.viison_datev_debtor_account AS viison_datev_debtor_account_25, t21.viison_datev_clearing_account AS viison_datev_clearing_account_26, t21.viison_datev_period_of_payment AS viison_datev_period_of_payment_27, t21.swag_paypal_unified_display_in_plus_iframe AS swag_paypal_unified_display_in_plus_iframe_28, t21.swag_paypal_unified_plus_iframe_payment_logo AS swag_paypal_unified_plus_iframe_payment_logo_29, t21.paymentmeanID AS paymentmeanID_30, t0.pluginID AS pluginID_31 FROM s_core_paymentmeans t0 LEFT JOIN s_core_paymentmeans_attributes t21 ON t21.paymentmeanID = t0.id WHERE t0.name = ? LIMIT 1‘ with params [„SwagPaymentPayPalUnified“]: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‚t21.swag_paypal_unified_display_in_plus_iframe‘ in ‚field list‘
Nach der neuinstallation mit neuer PayPal RestAPI-APP (Neue Zugangsdaten ohne eingerichteten Webhook) wird durch das Plugin der entsprechende Hook bei Paypal registriert undzwar auf https://www.DOMAIN.de/PaypalUnifiedWebhook/execute . Jedenfalls anderes als in der Anleitung. Es scheint auch, dass der Fehler (s.o.) nach änderungen in den Plugin-einstellungen auftritt. („Webhook URL already exists“)