update payment page to take into account sync gateway results