Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nguyen Hien 52 posts 133 karma points
    Jan 26, 2016 @ 09:54
    Nguyen Hien
    0

    Duplicate invoice when Create invoice via InvoiceService

    I use create invoice manual as this screen shoot. But when I place order. It create duplicate invoice. How can I prevent it?

    enter image description here

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jan 26, 2016 @ 17:06
    Rusty Swayne
    0

    You will need to use a different method to authorize the payment. Try one of the invoice extensions -

     invoice.AuthorizePayment(....)
    

    SalePreparation assumes that the invoice has not been saved, so it prepares and saves the invoice before applying a payment.

Please Sign in or register to post replies

Write your reply to:

Draft