Adyen / adyen-magento2

Adyen Payment plugin for Magento2
MIT License
155 stars 211 forks source link

[ECP-8789] Unique constraint violation found on RECURRING_CONTRACT webhook process #2329

Open Marwaa92 opened 1 year ago

Marwaa92 commented 1 year ago

Making a google pay Payment with tokenisation type UnscheduledCardOnFile.

Describe the bug Receiving a RECURRING_CONTRACT webhook, but the webhook is on error with message 'Unique constraint violation found'

To Reproduce Steps to reproduce the behavior:

  1. configure Stored payment for googlePay method
  2. choose UnscheduledCardOnFile as token type 3.make an order with google pay payment method
  3. Receive webhook RECURRING_CONTRACT
  4. Run console bin/magento a:w:r
  5. check notification table, the webhook is on error

Expected behavior the webhook should be processed without any error

Magento version 2.4.5-p4

Plugin version 8.20.1

Screenshots image

RokPopov commented 1 year ago

Hi @Marwaa92,

Thank you for opening this issue with us! We are opening an investigation on our end.

Cheers, Rok