I require wordpress and woocommerce API integration. I want to link my WP site with a SMS system and want the following:
[login to view URL] a user registers on WP (using custom registration fields plugin) those details must be sent to an API immediately to register on the SMS system and the SMS system must return the account key which must be added back to a user field in WP to identify them on the SMS system for purchasing integration.
2. When a client purchases a Woocommerce virtual product, upon successful credit card transaction the details must be sent to the SMS api to credit the account using accounKey to identify the account. This must be setup in such a way to enable me to add new products in the future without having to update the API. I would imagine using an attribute/field in the Woocommerce product called "credits" where I can set the amount of credits to be sent to the API in Woocommerce but I'm open to suggestions on how to accomplish this.