• Resolved busybees

    (@mick69145)


    Is it possible to add a variable for the API description? We use ‘Woocommerce PDF Invoices & Packing Slips’ for creating the invoices. Our bookkeeper want’s to double check with a csv export from Mollie. Now the description is based on the order number. They asked us to change the description to invoice number or add it to the description besides the order number.

    I don’t know if this is even possible since the transaction in Mollie is created when a new order is placed and the invoice, and the invoice number, is created afterwards (when the order is completed).

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @mick69145,

    If you have a predictable pattern that generates the invoice id, it may be possible to add here. But probably not directly through the UI that was added in version 7.1. We aim to extend this functionality further though as it is not yet fully complete.
    Can you tell us how the invoice id is generated precisely? Is this all coming from the PDF Invoices & Packing Slips plugin?
    Thanks!

    Kind regards,
    Niklas

    Thread Starter busybees

    (@mick69145)

    Hi @niklasinpsyde,

    The invoice id is predictable since the data is stored in an order post meta field called _wcpdf_invoice_number. This is is generated by the plugin PDF Invoices & Packing Slips.

    The invoice id is generated when the order status is completed. So when the first call is made to Mollie, there is no invoice id present.

    In the meantime I’ve figured out an export directly from WooCommerce also does the job because I can include the order meta field in the CSV file.

    Would be great if you add the function in the UI so you can just select everything from the Order Post Meta for the description API.

    Thanks!
    Mick

    • This reply was modified 4 years, 1 month ago by busybees.
    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @mick69145,

    If the invoice number is only generated after the payment, it may be tricky certainly. But I’ll bring this up with our developers to see what could be done to add additional meta to the description.
    All I know is this feature will be expanded further and we’re also working on documentation around it.

    Kind regards,
    Niklas

    Thread Starter busybees

    (@mick69145)

    Hi @niklasinpsyde,

    I was thinking the same thing because this data (invoice id) is only available after the order is completed, but it should already be available at the time of payment.

    Thanks for your help though. Have a nice weekend!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘API Payment Description’ is closed to new replies.