adding integration code for checkout