cry4pizza Posted February 20 Share Posted February 20 Hello everyone! How can i access the data like firstname, lastname etc from the order form after it has been send? I thought i could see it in the developer console in the network tab as a XHR request. But there i cant see anything.. Please give me some advice! Thanks a lot. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Solution Posted February 21 Share Posted February 21 You can do this with hook AfterShoppingCartCheckout https://developers.whmcs.com/hooks-reference/shopping-cart/#aftershoppingcartcheckout 0 Quote Link to comment Share on other sites More sharing options...
cry4pizza Posted February 21 Author Share Posted February 21 49 minutes ago, WHMCS Solution said: You can do this with hook AfterShoppingCartCheckout https://developers.whmcs.com/hooks-reference/shopping-cart/#aftershoppingcartcheckout Also the data for the invoice? for example the product details and prices etc.. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Solution Posted February 24 Share Posted February 24 Yes, You are getting below all params, So you can use Internal API to get all details from this Like get https://developers.whmcs.com/api-reference/getinvoice/ Parameters Variable Type Notes OrderID int The Order ID OrderNumber int The randomly generated order number ServiceIDs array An array of Service IDs created by the order AddonIDs array An array of Addon IDs created by the order DomainIDs array An array of Domain IDs created by the order RenewalIDs array An array of Domain Renewal IDs created by the order PaymentMethod string The payment gateway selected InvoiceID int The Invoice ID TotalDue float The total amount due 0 Quote Link to comment Share on other sites More sharing options...
cry4pizza Posted Monday at 02:46 PM Author Share Posted Monday at 02:46 PM On 2/24/2025 at 7:06 AM, WHMCS Solution said: Yes, You are getting below all params, So you can use Internal API to get all details from this Like get https://developers.whmcs.com/api-reference/getinvoice/ Parameters Variable Type Notes OrderID int The Order ID OrderNumber int The randomly generated order number ServiceIDs array An array of Service IDs created by the order AddonIDs array An array of Addon IDs created by the order DomainIDs array An array of Domain IDs created by the order RenewalIDs array An array of Domain Renewal IDs created by the order PaymentMethod string The payment gateway selected InvoiceID int The Invoice ID TotalDue float The total amount due Mh. But from which parameter of the list i could get the details of the order? Products, prices etc.. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Solution Posted Tuesday at 05:06 AM Share Posted Tuesday at 05:06 AM 14 hours ago, cry4pizza said: Mh. But from which parameter of the list i could get the details of the order? Products, prices etc.. for example you want to get details of order then user OrderID - and use API to get order details https://developers.whmcs.com/api-reference/getorders/ InvoiceID - https://developers.whmcs.com/api-reference/getinvoice/ 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.