• Hello!
    I’m using an event custom post type which have forms that submit to a CRM. I’d like to save the visitors submission information on on the local site in case the CRM connection is interrupted. What’s the best way of approaching this? I was thinking any of the following.

    – save submissions to a comma delisted file
    – save submissions to the database using custom table
    – write to a log file
    – save to a repeater custom field

    Saving to the database would be most robust but it would be duplicating a lot of work. I really just need this information *in case* the connection get’s interrupted, which it does some times.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Joey

    (@leglesslizard)

    Hi,

    I would think that the best solution would be only storing that information if required. Are you able to integrate with the CRM over an API? Ideally, you could fire off the required information to the CRM and get a success/failure response and then handle that accordingly. Temporarily storing the data if the call failed and create a cron job to try again at some set interval. Then if that fails notify an admin or whatever.
    If this isn’t possible I’d go the database route and then write something to display this information somewhere in the admin so I could easily access the information required if a submission was to fail.

    Hope that helps some..

    Kind regards,
    Joey

    Thread Starter Harv27

    (@harv27)

    Hi Joey,

    That helps quite a bit. Thanks for taking the time to write.

    I will implement your suggestion of simply emailing myself the submission if there’s an issue!

    Harv

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Best way to save visitor form submissions’ is closed to new replies.