Transportersio / omnipay-square

MIT License
4 stars 21 forks source link

How to generate a card Nonce? #16

Open modnar1226 opened 2 years ago

modnar1226 commented 2 years ago

I've spent about 12 hours trying to figure out how to generate a nonce value to send to the gateway->purchase() method.

I am currently using the blasttech/omnipay-square plugin for omni pay as they have updated to the new api, and fixed the error reporting.

I am at a loss though on how to create the nonce value before sending a one time payment.