I want to do some database work between the user Clicking the Google Pay button or Main CC Button and the processing.
Is there any way I can call Google Pay manually rather than the callback.
My routine will do an Ajax request and get a response saying that the database insert was successful and then I want to proceed to popup the Google Pay window or get the card nonce on the standard form.
So I think on the normal form I can call getCardNonce() but on Google Pay how do I do this ??