[#944] Getting product data from php://input

Migrated from Redmine #944 | Author: Tracey Van Puyvelde
Status: Closed | Priority: High, I’m very impatient | Created: 2022-10-15


Hello,

Can you provide what the incoming data example would look like for product data, specifically the quantity requested?

I thought it would look like this but it’s not returning the qty live.
“additional_fields”:[
{
“id”:str,
“name”:str,
“value”:str
}
],
“products”:[
{
“id”: str,
“name”: str,
“description”: str,
“price”: int,
“currency”: “USD”,
“default_qty”: str,
“qty”: int
},

Vitaliy Kordiak wrote:

Hi
Sorry, but the validator does not work with products . You receive a callback when you click the “book” button with the booking data with intake forms. Example of the incoming data you can check here:

Tracey Van Puyvelde wrote:

Thanks for your response Vitaliy.

I added a feature request for this, as it is important for our organization to validate an intake form value against the sum of products requested in the cart.