Getting SKU before activation
-
Hi,
I’ve integrated the API into my C# application. It works fine !
How it works :
– the user buy the product via my woocommerce site,
– the user download the product, because it is virtual and downloadable,
– the product has a useless but mandatory sku code (ex: FooSku),
Users have to register the license via a c# form received after buying.
In the C# code “FooSku” is written.I have now a 2nd version off my application and in my woocommerce, a new product and a new sku code FooSku2.
The product “is the same” but if you bought the 2nd version, more fonctionalities are enable.
The process is the same.My problem is that the user “only” have the license key and not the sku code. So an error is always launched because the coding sku code is not the same as in the woocommerce product.
Is there a solution to get the product associated with the licence key via an API ? And then with the woocommerce REST API get the good sku code ? I saw on the 10quality site the “Licence Key Data Model” and the wc_get_license_key function but there is no API ? Isn’t it ?
Thx for your return.
Regards.
éric
- The topic ‘Getting SKU before activation’ is closed to new replies.