I have task to create a custom shipment for recurring order. We sell strips that customer will use every month so we set a recurring product for this. For the first month we want to deliver strips and device and for all other months we want to send strips only.
Also we want for user to go through checkout process only once. So he is buying recurring product and nothing else. and as a result first month he has strips with device and only strips for all other months.
One more, We use fulfilment company for our shipment needs. This company uses Magento API to get information about orders. Through the API for the first month we need to send this company request to send SKUStripsAndDevice product to customer 1 and next months we want to send SKUStrips product.
Any ideas how to implement it?
https://stackoverflow.com/questions/7033788/can-i-detect-if-a-magento-function-is-being-run-as-an-api-call has a code how to find if magento runs on API call. I was thinking I will change SKU for the first month in recurring order details if request is in API mode.
Any ideas, suggestions?