Open dedanirungu opened 2 years ago
Hi, we created this plugin to do exactly what you need to do: to accept payment and create invoices programmatically from other applications. We mainly use it as the payment and invoicing system for our flagship plugin GeoDirectory, so if you follow our docs and examples, your code cannot be majorly affected by future updates. https://docs.wpgetpaid.com/article/584-how-to-create-an-invoice-programmatically If you have any questions, don't hesitate to ask. I hope this helps. Thanks
Thank you for your response.
How can I add an Invoice that is not associated with any user on the database via user_id?
Most customers in my use case might never register or log in to the system. The invoice might even be from a simple POS which handle a large number of walk-in customers. Creating user accounts for each will be wasteful.
Also, how can I make partial payments? eg 20% of invoiced amount in order to book a slot?
Hi, sorry for missing your questions. Neither thing is possible without customizing the plugin, I'm sorry.
I am working on a billing system for barber and salon businesses and I am using this plugin to generate invoices and manage user payments once they book a date.
I am currently doing it as shown below, and I think this is a hack that can be majorly affected by future updates.
Kindly provide a better way of generating invoices via api.