Skip to content

Duplicate entry for successive calls to the IPN #2

@drzraf

Description

@drzraf

Some module "manually" send OrderHistory()->changeIdOrderState().
This is the case for IPN URL called when a payment system confirm/cancel/... a payment.
The point for the payment modules is to update the order using newer information.

But initFromContext always call SalesforceSQL::save which trigger an INSERT using an (already existing) id (PRIMARY KEY).

I don't know what the best fix is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions