pay-by-square icon indicating copy to clipboard operation
pay-by-square copied to clipboard

implement decoding simple requests

Open monoidk opened this issue 1 year ago • 0 comments

Implemented basic decode for a simple most common payment format.

import pay_by_square
print(pay_by_square.decode(b'00...'))
python3 -c 'import pay_by_square; from pprint import pprint; pprint(pay_by_square.decode("0005M00012LBBN6EVVIO6I2MD1A3D4NP5FR5TEPRPD1R2KAE60SS1IAQV4T4C1AMCALGA9QH2SAKAG7DVL6LBCS90RE527H8BC90QTTB8CLHNA1SRKK3A7SU86PI6A69D2EU70S000000000"))'

monoidk avatar Apr 26 '23 12:04 monoidk