We are creating invoices via code according to the order's status at worldpay payment center. But when we generate invoice, for some orders it is not including shipping_amount and it is showing as total_due amount. But in payment gateway the full order amount is captured and it returns correct amount in the data

  • Could you show some of the code regarding this? Sep 4, 2019 at 14:50
  • did u find the solution ? im facing same issue
    – Zorox
    Mar 16, 2020 at 16:45

1 Answer 1


Please check your Database Values,

Maybe Your Shipping Amount doesn't Stored in Table or

You are not Selecting value From Table where Shipping Value stored,

Do not use shipping_amount from Session, it will destroy Later.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.