• Resolved illmikey

    (@illmikey)


    Currently, my client is using JotForm with Paypal for their new users to sign up. When the user signs up and pays, my client manually must add an entry in their TablePress-built table. Now, they are looking for a way to streamline these two operations, so that when a payment is completed, an entry is added into their table automatically (without having to manually do it themselves).

    As a developer, I know that I would have to write my own extension to do this. As I look through your extensive (and thankfully commented) code, I am wondering if there is a quick approach to the following steps after sending an AJAX request with new entry:
    1. retrieving a particular table based off the request
    2. adding a new entry into the table
    3. and finally saving the table ?

    *Aside: is it possible to bypass nonce and permissions to do this operation?

    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Your best choice to implement something like this probably is to follow the process that TablePress does to save a table, in the ajax_action_save_table() method of the controller-admin_ajax.php file.
    Note that this is not technically a “public API”, i.e. things might change in the future.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Extended the plugin to save data via AJAX’ is closed to new replies.