WebsiteDashboardFeedback Board
Documentation Developer Documentation
Module
Fundamentals
Advanced
Troubleshooting
Invoice Synchronizers
Invoice Synchronizers Base class Create an invoice on remote Create the integration handler View PDF invoice from remote
Domain registrars
Hosting module
Support integrations
DNS integrations
Core
Config Service Domain Whois Service Webhook events and payloads
Themes
Structure Template extension order Extending a template file Create a new theme Compile theme SCSS with brand settings Theme configuration via config.xml Customization packages (brand presets) Add a CMS element from a theme Ship images, JavaScript and other theme assets Develop and debug a theme locally Twig helpers a theme uses
CMS
Adding custom elements
Invoice Synchronizers

View PDF invoice from remote

When an admin or customer wants to view the invoice, your invoice synchronizer handler needs to integrate the viewInvoice() function which passes the invoice model as first parameter.

You can use the customFields to retrieve the invoice id on the remote. The function should return the raw PDF data. hostware then takes care that the data will be displayed as an actual pdf document.

Was this helpful?
Was this helpful?