Skip to main content

Voyado CRM integration

Our integration with Voyado allows Walley to check if a user is a member of the loyalty program of the merchant. If the customer is not already a member of the loyalty program, Walley will ask the customer if they would like to enroll as part of the checkout journey. If so, Walley will automatically enroll the customer to the membership program after completing the purchase, all without leaving the checkout experience.

Please Note

The CRM module will only shown for customers that identify using a national registration number.

During the checkout session

When the customer identifies in Walley Checkout, a request to Voyado will be made to check if the customer is already a member based on national registration number, email address or mobile phone number. If the customer is not already a member Walley Checkout will prompt to apply for membership.

If the customer choses to apply, or if the customer is already a member, a walleyCheckoutCrmUpdated JS event will be sent. When this event is received the merchant will have to acquire checkout information to know the status of the membership.

If the customer is not yet a member, the data returned from the API looks like this:

{
"customer": {
...
"voyadoMembership": {
"applyForMembership": true
}
},

applyForMembership is set to true if the customer wants to apply for membership and false if not.

If the customer is already a member, the member number and the Voyado contact ID will be returned instead:

{
"customer": {
...
"voyadoMembership": {
"contactId": "9b43c86e-227b-4149-b0ee-de7f4846be26",
"memberNumber": "123456789"
}
}
}

After the payment is completed

If the customer chose to apply for membership Walley will automatically register the customer with Voyado:

{
"firstName": "First name",
"lastName": "Last name",
"street": "Address 1",
"zipCode": "12345",
"city": "City",
"email": "test@walleypay.se",
"mobilePhone": "+46701234567",
"countryCode": "SE",
"socialSecurityNumber": "510731-2323",
"preferences": {
"acceptsEmail": true,
"acceptsPostal": false,
"acceptsSms": false
}
}
info

Note that Walley Checkout will also provide Voyado with the following properties:

PropertyRequiredExplanation
SourceYesAlways set to the string "Walley".
ExternalStoreIdNoSet to a value of your chosing to indicate which store in Voyado the customer registered in. Note that this store must be setup in Voyado and in our settings.

When acquiring checkout information the member number and the Voyado contact ID will be returned:

{
"customer": {
...
"voyadoMembership": {
"contactId": "9b43c86e-227b-4149-b0ee-de7f4846be26",
"memberNumber": "123456789"
}
}
}

If the customer chose not to apply for membership this will be indicated:

{
"customer": {
...
"voyadoMembership": {
"applyForMembership": false
}
},