Jump to content

Invoice mark paid in Backend Admin Module


HerrZ

Recommended Posts

hello,

There is my DirectDebit Backend Admin Module.

In the Module Interface i want to mark an invoice as Paid. A simple solution is changing the values in database. BUT after this there is no hook call, no registrar automation and so on.

 

how can i set the invoice status to "Paid" correctly ( Mark Paid )?

 

-curl API call?

 

-rebuild the "Mark Paid" Form?

<form method="post" action="invoices.php?status=Unpaid&page=0">
<input type="hidden" name="token" value="3603bd###################6ebaa57######b1494" />
<input type="checkbox" name="selectedinvoices[]" value="1002" class="checkall">
<....>

- what is the "token"?

 

Feedback?

 

regards

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated