TeleMagic Posted January 16, 2014 Share Posted January 16, 2014 I am writing a module to create voip accounts. I have a product bundle that includes a voip account and a VPS server using a ready-made prommox module. I have a product bundle which creates both products creating both the vps through the proxmox addon and also the VOIP account through my module. I need to be able to find out the hostname for the vps created when I create the voip account, is there any way to pull this? Regards 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted January 16, 2014 Share Posted January 16, 2014 in your module, use the product to find the order, use the order id to get the vps 'domain' field 0 Quote Link to comment Share on other sites More sharing options...
TeleMagic Posted January 16, 2014 Author Share Posted January 16, 2014 Which product? If I lookup based on the customer id and product code, what happens if customer orders more than one bundle? Regards 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted January 16, 2014 Share Posted January 16, 2014 Which product? The product you're provisioning (the voip account) 0 Quote Link to comment Share on other sites More sharing options...
TeleMagic Posted January 17, 2014 Author Share Posted January 17, 2014 So will both products in the bundle have the same order id? Regards 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted January 17, 2014 Share Posted January 17, 2014 So will both products in the bundle have the same order id? All items in a single order will have the same orderid on their tblhosting/tbldomains records. 0 Quote Link to comment Share on other sites More sharing options...
TeleMagic Posted January 18, 2014 Author Share Posted January 18, 2014 Thats great. I probably should have tried playing with product bundles before posting. Thanks for the help Othellotech. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.