Check type of address variable in checkout process

Fixes #162