Do you have an API that I can use to create customer Invoices

    • # 4 months, 2 weeks ago

      Hi,  I would like to be able to use your Invoicing Add on to display invoices to my registered customers.  The invoices are created in a separate billing system, so I would then like to transfer them to the WPCustomerArea Invoicing add on, so that customers can view them.

       

      Do you have a Rest API that I could use to create the invoices.

      Thanks

    • Thomas
      Keymaster
      # 4 months, 2 weeks ago

      Hello,

      Unfortunately, WPCA hasn’t been developed with the Rest API in mind. It won’t work out of the box.

      If you have some development skills, you could however take a look at the file customer-area-invoicing/src/php/functions.php. You’ll find a few ready to use functions and will see the process required to access the PHP classes instances (cuar_addon function). You could probably create a CRON script to fetch the data from your external service and create the invoices accordingly instead.

      Regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

Viewing 1 reply thread

The topic ‘Do you have an API that I can use to create customer Invoices’ is closed to new replies.