Selecting element by content-desc value with Python

If you really have element with content description “pay now”, then

pay_now_button = driver.find_element_by_android_uiautomator('new UiSelector().description("pay now")')

should work…
Try descriptionContains…

pay_now_button = driver.find_element_by_android_uiautomator('new UiSelector().descriptionContains("pay now")')