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?
{"advice":"UNAVAILABLE","score":0,"avsResponseCode":"0","cvvResponseCode":"0"},"visaCh
eckoutGuest":true}
Solved! Go to Solution
Hi naveenjrsh,
I am looking into this for you and will get back shortly.
Thank you,
Ricardo
Hi naveenkrsh,
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.
Thank you,
Ricardo
Hi there,
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,
Ricardo
Hi Ric,
Where should I add the newUser flag? Do I have to add in V.init request or payload data?
Please let us know.