Guest vs Wallet Experience
When to use this page
If you need to choose or implement Guest vs Wallet Experience in the checkout experience, use this page.
The session object is used to determine whether the wallet or guest experience will be displayed for the user. Here is a sample session object:
Session Object Sample
{
"payment": {
"merchantTransactionId": "xxx-xxx-xxx-xxx-xxx",
"amount": 1500,
"authorizeCard": true,
"metaData": {}
},
"customer": {
"email": "<email>",
"enterpriseId": "<enterpriseId>",
"hsid": "<hsid">,
"metaData": {
"userId": "<userId>"
}
}
}
wallet experience is displayed if one of the following is provided:
customer.enterpriseIdhas a valid valuecustomer.hsidhas a valid value- (or)
customer.metadatais a non-null object with valid Merchant Identifiers (MCID)
otherwise guest experience is displayed.