I have a billing program and to connect that program to my online store in wordpress i used a plugin but now i've been requested to do the following update :
- Whenever we create a product on woocommerce it creates automatically on the billing program aswell
i asked the billing program support for help to do this and they gave me the following example
$result = $soap->authenticate( $API_KEY ); $APISession = $result[1]; $ref = "002"; $designation = "Produto de teste"; $shortName = "Ptest"; $tax = "23"; $obs = "teste"; $isService = "0"; $hasStocks = "0"; $active = "1"; $shortDesc = "Descricao 123"; $longDesc = "Descricao longa, teste 123."; $price = "100"; $vendorRef = ""; $ean = ""; $product = $soap->insertProduct( $APISession, $ref, $designation, $shortName, $tax, $obs, $isService, $hasStocks, $active, $shortDesc, $longDesc, $price, $vendorRef, $ean);
But thats not what i want since we insert the parameters manually on this example and i want that automatically, i explained this to the support of the billing program but they said they couldn't help me with that, so i'm asking here with the hope that someone can help me on this.
Note : These parameters are the billing program parameters and i want to fill these parameter with what comes from the woocommerce product, i am using a webhook to call the function "insertProduct"