added adapter layer and payment page