Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PW-4723] Make error_details column nullable for Shopware 5 notification #171

Merged
merged 1 commit into from
Jun 18, 2021

Conversation

ataberkylmz
Copy link
Contributor

Summary

We can see the below log/issue if the errorDetails key is null in the notification (which can happen with PayPal):

array (
  'error' => 'An exception occurred while executing \'INSERT INTO s_plugin_adyen_order_notification (order_id, psp_reference, created_at, updated_at, status, paymentMethod, event_code, success, merchant_account_code, amount_value, amount_currency, error_details) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)\' with params [171, "155xxxx075", "2021-05-21 13:45:01", "2021-05-21 13:45:01", "received", "paypal", "CAPTURE", 1, "XXX", 4417, "EUR", null]:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column \'error_details\' cannot be null',
)

@peterojo peterojo merged commit f39edbe into Adyen:develop Jun 18, 2021
@acampos1916 acampos1916 mentioned this pull request Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants