Steps to replicate the issue (include links if applicable):
While trying to reproduce the duplicate payment issue on T407383, I came across this bug I think may/may not be related to the issues reported.
The first 2 test Apple Pay donations I made were successful, I was redirected to the last article I was reading and the thank you toast was shown at the bottom of the page.
I tried to make a google pay donation but the button did not render on the inapp browser, so I cancelled and attempted another test Apple Pay transaction. It was successful, I was redirected to the search page but the toast did not show up.
Going back to the donate page I saw the missing toast from the last transaction. I tried another transaction to confirm the pattern, but its been giving errors since then. The first error had a code 1005 “The network connection was lost” and subsequent errors say Decoding error key not found. Please see attached images.
What happens?:
What should have happened instead?:
Payment should complete with no errors
Software version:
iOS App 7.8.5 (5873)
Other information:
iOS 26.1
Engineering Notes:
Some payments can take up to 33 seconds, and it looks like Apple Native Payments have an internal timeout of 30 seconds. (link), and this seems to be the case in simulations as well.
We would need to add an early fake success around here.
Care would need to be made to ensure that if submitPayment does complete in a reasonable amount of time, code within the case .success: is still executed.