[Magisk] micku7zu:
Oh god, After 2 hours of installing, uninstalling, running scripts manually, I finally make it work on Google Pixel 2 XL - Android Q Beta 4.

First try was this:

1. Install SQLite modules

2. Install Gpay SQLite Fix (as mentioned does mgiskhide and Pay cache and storage clear)

3. Add card

4. ERROR!

Second try was to run the commands from git manually, in order to provide feedback and found out that "chattr" was not present on my device. Also, you (73sydney) have a bug (typo) on your checks on "chattr", you check it only on "termux" folder, the other else ifs are wrong (you didn't include the binary name, only the folder name).

I installed termux and now have chattr and tried again like before, but still didn't worked.

Second attempt was with "Automate", because I saw someone here on the thread that it worked for him on Pixel 2 XL Beta 4. Still didn't worked.

I double checked everything: rooted with Magisk, MagiskHide activated and hided everything from Google, safetynet passes and device is certified. Double checked DB, permissions etc, everything ok.

I cleared the cache on Google Play Store, Google Pay. Uninstalled google pay and installed it back. Tried everything 2-3 times just to be sure I didn't mess up with anything.

I read then on the forum that you need to remove the card and add it back to work, I redo everything + this method. STILL DOESN'T WORK!

Then, I found this message on the thread about "SafetyPatch" Magisk Module and give it a try (even if the SafetyNet was passing before).

I installed the "SafetyPatch", re run Magisk Scripts + Automated scripts (just to be sure), and tried to add a new card and IT WORKS!!!

Now, after I finally make it work, I try to reduce it only to the step that matters, so I uninstalled everything back to normal, removed Magisk Modules, Automate, Termux, chattr (your script works without chattr for me, I checked it with recursive find on my device and I don't have it anywhere), Google pay, etc, and the final solution for me is:

TL;DR Working Google Pay 2.92 with Google Play Services 17.7.85 on Pixel 2 XL with Android Q Beta 4 for me:

1. Magisk latest version (19.3 now)

2. Magisk Hide enabled

3. Hide relevant Google apps with Magisk Hide (I don't know exactly which ones, I hid almost all of them) (I know that the GPay.SQLite.Fix.v1.3.zip already does this, I just wanted to be sure)

4. Check "SafetyNet" check to be "Success"

5. Check that the device is certified in Play Store settings

6. Install "SafetyPatch" Magisk Module (even if the safetynet passes), this was essential and without this it didn't worked for me.

7. Reboot

8. Clear the cache of Google play store (my device was not certified in Play store, so maybe this is not needed in your case).

9. Install "SQLite for ARM aarch64 devices" Magisk Module

10. Install latest Google Pay apk (2.92) (or force stop and clear data if already installed)

11. Install "GPay.SQLite.Fix.v1.3.zip"

12. Open Google pay and set up your card payment

13. Enjoy

This was the case for me, things that I tried and were not needed for me:

1. I don't have the "chattr" binary on my device, so that parts of the scripts are not executed from GPay.SQLite.Fix.v.1.3.zip, so I don't know if they are entirely necessary.

2. I didn't have to install old Google Play Services

3. I didn't need the old "Automate" .flo files from this thread. (I checked their contents and it is basically the same thing as the zip for Magisk)

4. I didn't need to re add my cards

The only crucial step that I was missing was that "SafetyPatch" magisk module, even if the SafetyNet was passing before. Also, double check that your device is certified on Google Play store settings, if not, clear the data + cache of Google Play Store.

Thanks everyone for your hard work! Lets hope it will work for a long time :)