[@Moritz Naczenski](http://forum.shopware.com/profile/14574/Moritz Naczenski „Moritz Naczenski“)
Guten Morgen zusammen,
leider haben wir gestern wieder eine Bestellung gehabt, die offen ist, jedoch haben wir nun einige Logeinträge!
Das ist der erste Logeintrag den ich über die payer_id der Kundin zuordnen kann.
[2020-07-07 15:59:50] swag_paypal.ERROR: Client error: `POST https://api.paypal.com/v1/payments/payment/PAYID-L4CJVJY0PK40970CV2258033/execute` resulted in a `400 Bad Request` response: {"name":"INSTRUMENT_DECLINED","message":"The instrument presented was either declined by the processor or bank, or it c (truncated...) The instrument presented was either declined by the processor or bank, or it can't be used for this payment. [{"name":"INSTRUMENT_DECLINED","message":"The instrument presented was either declined by the processor or bank, or it can't be used for this payment.","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"95f505bbb0164"},{"headers":{"content-type":"application/json"},"json":"[object] (Swag\\PayPal\\PayPal\\Api\\Payment\\Payer\\ExecutePayerInfo: {\"payer_id\":\"6JRN4KH6M9BKQ\"})"}] []
[2020-07-07 16:00:23] swag_paypal.ERROR: Route "paypal.webhook.execute" is deprecated. Use "api.action.paypal.webhook.execute" instead. Please save the PayPal settings to prevent this error. [] []
Nun kommt eine DEBUG Information, aus der wir herauslesen das => „summary“: „Checkout payment is created and approved by buyer“,
[2020-07-07 16:00:23] swag_paypal.DEBUG: [PayPal Webhook] Received webhook {
"payload": {
"id": "WH-9F896514LG406732U-3BP892229N261643E",
"event_version": "1.0",
"create_time": "2020-07-07T15:59:51.924Z",
"resource_type": "payment",
"event_type": "PAYMENTS.PAYMENT.CREATED",
"summary": "Checkout payment is created and approved by buyer",
"resource": {
"update_time": "2020-07-07T15:59:51Z",
"create_time": "2020-07-07T15:54:15Z",
"redirect_urls": {
"return_url": "https://UNSEREDOMAIN.de/paypal/plus/payment/finalize-transaction?isPayPalPlus=1&changedPayment=0&paymentId=PAYID-L4CJVJY0PK40970CV2258033",
"cancel_url": "https://UNSEREDOMAIN.de/paypal/plus/payment/finalize-transaction?isPayPalPlus=1&changedPayment=0&cancel=1"
},
"links": [
{
"href": "https://api.paypal.com/v1/payments/payment/PAYID-L4CJVJY0PK40970CV2258033",
"rel": "self",
"method": "GET"
},
{
"href": "https://api.paypal.com/v1/payments/payment/PAYID-L4CJVJY0PK40970CV2258033/execute",
"rel": "execute",
"method": "POST"
},
{
"href": "https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-2RX25773SR6578433",
"rel": "approval_url",
"method": "REDIRECT"
}
],
"id": "PAYID-L4CJVJY0PK40970CV2258033",
"state": "created",
"transactions": [
{
"amount": {
"total": "1739.13",
"currency": "EUR",
"details": {
"subtotal": "1739.13",
"tax": "0.00",
"shipping": "0.00"
}
},
"payee": {
"merchant_id": "56KTGZXXXXXXX",
"email": "payment@UNSEREDOMAIN.de"
},
"item_list": {
"shipping_address": {
"recipient_name": "N. B.",
"line1": "K. Str. 5",
"city": "Idar-Oberstein",
"state": "DE-RP",
"postal_code": "55743",
"country_code": "DE",
"default_address": false,
"preferred_address": false,
"primary_address": false,
"disable_for_transaction": false
},
"shipping_phone_number": "0160123546789"
},
"related_resources": []
}
],
"intent": "sale",
"payer": {
"payment_method": "paypal",
"status": "UNVERIFIED",
"payer_info": {
"email": "n.b.@g.c",
"first_name": "N.",
"last_name": "B.",
"payer_id": "6JRNXXXXXX",
"shipping_address": {
"recipient_name": "N. B.",
"line1": "K. Str. 5",
"city": "Idar-Oberstein",
"state": "DE-RP",
"postal_code": "55743",
"country_code": "DE",
"default_address": false,
"preferred_address": false,
"primary_address": false,
"disable_for_transaction": false
},
"country_code": "DE"
}
},
"cart": "2RX25773SR6578433"
},
"links": [
{
"href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-9F896514LG406732U-3BP892229N261643E",
"rel": "self",
"method": "GET"
},
{
"href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-9F896514LG406732U-3BP892229N261643E/resend",
"rel": "resend",
"method": "POST"
}
]
}
} []
Danach kommt ein Error der sagt das alles gut ist
[2020-07-07 16:00:23] swag_paypal.ERROR: [PayPal Webhook] The specified event-type does not exist. {"type":"PAYMENTS.PAYMENT.CREATED","webhook":"{\"id\":\"WH-9F896514LG406732U-3BP892229N261643E\",\"resource_type\":\"payment\",\"event_type\":\"PAYMENTS.PAYMENT.CREATED\",\"summary\":\"Checkout payment is created and approved by buyer\",\"resource\":{\"parent_payment\":null}}"} []
Das ganze wiederholt sich irgendwie immer wider bist tief in die Nacht
[2020-07-07 22:39:54] swag_paypal.DEBUG: [PayPal Webhook] Received webhook {„payload“:{„id“:„WH-9V1141214V627405B-5P949761NP709591A“,„event_version“:„1.0“,„create_time“:„2020-07-06T12:15:43.489Z“,„resource_type“:„payment“,„event_type“:„PAYMENTS.PAYMENT.CREATED“,„summary“:„Checkout payment is created and approved by buyer“
Wir haben die Kundin noch nicht erreicht, um diese nach dem Verhalten zu fragen. Wie gehen wir weiter vor? Sollen wir das wieder als Support Ticket erfassen?
Kann uns bitte jemand einfach anrufen und mit uns gemeinsam das Problem angehen, wir sind bereit in jeglicher Form zusammenzuarbeiten damit das Problem schnell behoben wird!