set up payment gateway, and fixed micropost rendering