Skip to content

Severe errors after deleting orders (Sorting number of a complete order cannot be changed) #28

@plagasul

Description

@plagasul

Trying to delete an order (such as a test sandbox order) results in the error message "Sorting number of a complete order cannot be changed." on top of the delete confirmation popup.

image

Clicking Delete again results in 'the page cannot be found' error:

image

...but deletes the order page.

Then errors start to happen. ->

  1. On successive orders , order numbers are being repeated.

image

  1. At least on localhost, successive orders, after confirming paypal (in my tests), are redirected to success page BUT returning the same exception "Sorting number of a complete order cannot be changed."

So, as this is within a try / catch clause, apparently merx()->completePayment($_GET); fails.

BUT the order appears in the panel orders page, and its payment show as complete.

It fails, but it completes.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions