1. Why don’t you use a plugin? Please have a look at this one here (it’s not tested):
2. Also here, I think the best, easiest and cheapest way is to search for a plugin. When we develope it, I think with testing the plugin we need 1 day / 8 hours, per hour $70, I think it’s not worth it.