So when use clicks the “Buy Now” with a email already assigned to it, for example I’m using the link, they get redirected to Invoice Ninja where they can make the payment. How do I track the payment?
So on my Dashboard (Vanilla PHP), I plan to use the API to get the invoice according to the invoice ID created by the “Buy Now” and than check if the payment was made. Is this possible?
Another question for the invoice_status_id i understand “1” is incomplete and “6” is complete, are there any others?
All users that register on my site as registered on invoice ninja via API.
Also how do I reset the client ID, while testing it I made some users and deleted them, but the users now start from like client number 20. Nothing is archived.
Back to the point, is there no way for me to trace that user’s invoice number?
Client clicks buy --> API creates invoice based on client’s Email from SQL database and the Product ID
Than the client is asked to check his/her email or is there a option in the API where I can retrieve the URL for the client?
than the client pays, they go on our site, presses “I’ve Paid”, we call the API, check the invoice status by the invoice ID and if it is paid we update our SQL as paid, if not we say, Sorry you haven’t paid.
Would that work? Could you help me if the part I put in bold.
Thanks for that, but how does the frequency ID work?
I looked on the control panel and it just said Due Date: 24th day of the month or whatever you select, is that it?
If I create a invoice, and make the put ?include=invitations, but in my setting I put that Invoice Ninja automatically generates a password, how can I get the password on the response? I want to store it on the SQL server, I am also sending it to the user using email_invoice=true
Hi, I figured that out I just use strtotime to add 1 day to the current day.
However the other problem…
If I create a invoice, and make the put ?include=invitations, but in my setting I put that Invoice Ninja automatically generates a password, how can I get the password on the response? I want to store it on the SQL server, I am also sending it to the user using email_invoice=true