Android Pay not working on Nexus 6P with Android Oreo

After sideloading Android 8.0 Oreo on my Nexus 6P, I found that Android Pay no longer considered my device secure. There’s apparently a bug in the OTA version Google posted publicly on their website, OPR6.170623.017. Luckily, the OTA that went out to most people, OPR6.170623.019, does not have this bug. You can wait for an OTA notice from Google, which might take a couple of weeks, or you can sideload OPR6.170623.019.

Here’s the download link: https://android.googleapis.com/packages/ota-api/google_angler_angler/fa6c32666b341b882089fc8e1207f435921723f9.zip