Get WooCommerce billing details from external API
Budget: ₹600 – ₹1,500 INR
I need to auto-populate WooCommerce billing details in checkout page from external XML api.
I have an external api that on providing the "Reg_No", returns the following XML data:
<string xmlns="http://tempuri.org/"><NewDataSet> <Table>
<Reg_No>N0343</Reg_No> <Mem_Name>JOHN DOE</Mem_Name>
<Mem_MobileNo>1234567890</Mem_MobileNo>
<Mem_EmailId>abcd[at]example.com</Mem_EmailId> <Mem_CurrentCity>Some Place</Mem_CurrentCity>
<Mem_CurrentState>Some State</Mem_CurrentState> <MembershipStatus>Active</MembershipStatus>
</Table> </NewDataSet> </string>
I need to set up WooCommerce to let users enter their Reg_No and the the billing details in the checkout page will be auto-populated with details (name, email, phone number, city and state) from the above xml?
Need this done asap.
I have an external api that on providing the "Reg_No", returns the following XML data:
<string xmlns="http://tempuri.org/"><NewDataSet> <Table>
<Reg_No>N0343</Reg_No> <Mem_Name>JOHN DOE</Mem_Name>
<Mem_MobileNo>1234567890</Mem_MobileNo>
<Mem_EmailId>abcd[at]example.com</Mem_EmailId> <Mem_CurrentCity>Some Place</Mem_CurrentCity>
<Mem_CurrentState>Some State</Mem_CurrentState> <MembershipStatus>Active</MembershipStatus>
</Table> </NewDataSet> </string>
I need to set up WooCommerce to let users enter their Reg_No and the the billing details in the checkout page will be auto-populated with details (name, email, phone number, city and state) from the above xml?
Need this done asap.