• Hello, using Paytium Pro.
    I want to load extra data in the invoice template using a shortcode.

    Is there a hook to get this working? I didn’t find it yet. The data is comming from a different db table, this is no issue to get the data.

    Now looking into extending the PT_Payment class, that might work. Maybe someone has a better idea, just let me know.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter herbert

    (@herbie4)

    Update

    For now I had to change a core file and added a do_shortcode() on the invoice generation. I know I should not change core files but for now I don’t have an option. I run my own shortcode to get the users adress inside the invoice template.

    I hope david might integrate this change, so others can use it to.

    Changes:
    paytium-pro/features/invoices.php line 551
    return $invoice; -> return do_shortcode($invoice);

    Thread Starter herbert

    (@herbie4)

    Hi, sorry to hear about David.

    Are there any updates on this issue. Would like to see this integrated in the plugin for futere updates. Best regards, hrbrt

    PS Is there a way to also run shortcodes in the pro emails text?

    • This reply was modified 3 years, 8 months ago by herbert.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Extend the invoice data’ is closed to new replies.