Skip to content

Cannot place order due to duplicate key in database  #5833

Description

@grasdaggel

We are currently experiencing a weird bug where we do get a error msg from Magento that a specific Key would already exists. We are using different shipping methods (Table Rates, Free of Charge and basic shipping for domestics).

bildschirmfoto 2016-07-27 um 13 21 21

We are currently using Magento 2.0.6. Any ideas what could cause this? Not sure whether its a bug with the payments or with the shipping settings, however, a setting that creates such a error message should not be configurable in the backend for more stability.

When getting this error theres a 500 Server Error from this DIR:
jquery.js:9666 POST http://domain.tld/mage2/rest/default/V1/carts/mine/payment-information 500 (Internal Server Error)

Response/Content of POST:

send    @   jquery.js:9666
ajax    @   jquery.js:9211
post    @   storage.js:39
(anonymous function)    @   place-order.js:46
_super  @   wrapper.js:73
(anonymous function)    @   place-order-mixin.js:30
(anonymous function)    @   wrapper.js:78
validateSuccess @   saferpaycw_visa-method.js:81
proxy   @   jquery.js:556
(anonymous function)    @   checkout.js:175
proxy   @   jquery.js:556
cwValidateFieldssaferpaycw_visa @   VM33117:66
Form.Validation.validate    @   checkout.js:113
Form.validate   @   checkout.js:167
validate    @   saferpaycw_visa-method.js:72
placeOrder  @   default.js:127
(anonymous function)    @   knockout.js:3863
dispatch    @   jquery.js:4624
elemData.handle

We are using Magento 2.0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions