Uploaded image for project: 'Prestashop 1.6'
  1. Prestashop 1.6
  2. PSCSX-8736

webservice: after posting an order the default carrier is forced and the status changes to "Payment error"


    • Type: Bug
    • Status: To Do
    • Priority: Standard
    • Resolution: Unresolved
    • Affects Version/s:
    • Fix Version/s: None
    • Component/s: None


      When an order is posted using the webservice the response is the same as posted, when the order is requested again or looked up in the admin panel the carrier changed to the default carrier. The total order price changes and it gives an payment error + changes the state of the order.

      The cart is posted with the same carrier_id.
      When the "best price" or "best grade" carrier is selected the carrier is set to carrier_id = 0

      Because of this problem it is not possible to post an order where the carrier is not the default carrier.

      I put screenshots/code in the attachments as a proof of concept.


        1. no carrier costs.PNG
          no carrier costs.PNG
          4 kB
        2. Order post XML.PNG
          Order post XML.PNG
          25 kB
        3. Order post XML.txt
          1 kB
        4. order returned XML.PNG
          order returned XML.PNG
          9 kB
        5. order returned XML.txt
          0.4 kB
        6. other carrier selected.PNG
          other carrier selected.PNG
          11 kB
        7. payment error.PNG
          payment error.PNG
          1 kB
        8. payment error wrong price.PNG
          payment error wrong price.PNG
          3 kB
        9. requested the order again.PNG
          requested the order again.PNG
          11 kB
        10. requested the order again.txt
          0.6 kB



            • Assignee:
              MarkvDalen Mark van Dalen
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: