woocommerce-ios
woocommerce-ios copied to clipboard
World's worst HACK week code – Remote Tap to Pay on iPhone
Closes: Nothing. Never merge this. Not even a bit.
Description
This is a hack week project. Don't merge it, don't judge it, ideally don't even read it, it's just cool that it works. I've used some of Apple's sample networking code
Testing information
Hahahahaha good luck.
- Launch the app on an iPhone, and sign out if you're not already.
- Tap
Remote Tap to Pay
on the final Login prologue screen – you might need to tap skip a few times to get to this. - Launch the app on an iPad and switch to a POS eligible store
- Tap
Connect your reader
and choose remote tap to pay - Do it again if it doesn't work the first time
- Add something to your cart and checkout as normal
- Tap your card on the iPhone
- Observe that the payment completes
- Do a little dance
- Never read the code.