Whenever user enrollment for VCO sandbox account, the newUser flag is not returned in response. Instead it returns visaCheckoutGuest as true. How to identify the new user & existing user?
Solved! Go to Solution
I am looking into this for you and will get back shortly.
New payload field has been introduced – newUser. Possible value is ‘true’. As part of this feature, when a consumer enrolls via the checkout flow, they will now receive a new field in the payload as an indicator - 'newUser'. The value will be 'true' for new enrollments only and the field would be sent out in the payload only for new enrollments (newUser: true). This new field would not be sent out for guest checkouts and would not be sent out for returning users (users that have not enrolled during the checkout session).
Let me know if you have any other questions.
Looks like you have not added the "newUser" field into their code when submitting the request through the API call. The "newUser" field needs to be in the code in order to receive that field back in the payload data reply, if this is a new enrollment for the customer in the Visa checkout flow.
Let me know,