Hi,
By reading this article I know there is a local payment id generated by SDK in the case of offline payment, may I know whether this local payment id is unique across devices?
Hi,
By reading this article I know there is a local payment id generated by SDK in the case of offline payment, may I know whether this local payment id is unique across devices?
Hi! The local payment ID is a random UUID that the SDK generates on the device when it stores an offline payment. A collision between different devices would be extremely unlikely.
Use the local ID to track a payment on the device that took it while the payment is still queued. After the payment uploads, use the Square payment ID from the Payments API as your record of the payment. If you need a key across your fleet before upload, pair the local ID with your own device identifier.
Let me know if that helps!
Thanks for the info, that helps a lot