We are using a custom payment gateway where the shipping and address information are provided by the payment gateway. Because this information are available through payment gateway we have removed the customer details form from the woocommerce checkout page.
The payment gateway we are using is custom gateway.
Through gateway, customer doesn't have to fill in all information in checkout page, instead they can fill in all information in the mobile, and once they confirm the order, the informatin they have registered sent to woocommerce listener. So we are getting shipping info and billing information from gateway.
Now the problem is, when the order succeed, we are not getting the billing details and shipping detalis in cutomer order email or admin order email.
The question is, how can I set those information from the gateway to woo-commerce using code, so that the information can be populated in the email.
thanks