I made Google pay fix flow much more compact(only 15 blocks) , this flow contains two flows.
•BEFORE USING THIS FLOW MAKE SURE TO RUN THIS TEST FLOW:
•READ THE DESCRIPTION BELOW FOR MORE INFO
•Enable "Run on startup" in Automate settings to make use of broadcast after booting.
Credit goes to ALEX SAMOYLENKO
Use Google Pay with root after Play Services 15 update!
This script requires SQL from Magisk modules repo! Make sure to install it and reboot the device. Delete your GPay cards and re-add them AFTER enabling script. If you can add the card - most likely, the payments will also work. But, I give no warranty, always have a credit card or cash.
This script runs in background and resets G Pay attestation databases and locks these periodically. This should allow to use G Pay with root.
The original author and thread of the method can be found on xda: https://forum.xda-developers.com/apps/magisk/magisk-google-pay-gms-17-1-22-pie-t3929950
So it's not completely my idea, I made a little bit reworking of commands and added some automation, so it is easy to install and use.
This works for me and many others, but I cannot give 100% warranty that it will work for you.