Click button to redirect to BTWB with user hash (if user is logged in)
Customer hash is sent with query param:
?customer-hash
to decode on BTWB side:
JSON.parse(atob(location.search.replace(/^.*?\=/, '')))
Customer hash is sent with query param:
?customer-hash
to decode on BTWB side:
JSON.parse(atob(location.search.replace(/^.*?\=/, '')))