Getting server time mismatch error when using iOS simulator

I’m getting this error almost immediately after calling startPayment, but only when doing so inside the iOS simulator.

device_time_does_not_match_server_time

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Deploy the Server
Reader SDK Quickstart
Reader SDK Quickstart

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

The error “device_time_does_not_match_server_time” typically occurs when there’s a significant difference between the time on your device and the actual server time. To resolve this issue, ensure that your device’s time is set correctly and is synchronized with the server’s time.

This answer was reviewed by @Bryan-Square.