x

Not able to create nonce in android sdk.

I am not able to create nonce from the Android SDK. If I am customizing payment form then I am not able to create a nonce. can anyone help me out? How to create nonce in android with the custom payment form. I want to use create customer card API. But for this API I need Nonce and I don't find any solution to create nonce from custom payment form. I used this link "https://docs.connect.squareup.com/payments/in-app-payments-sdk/how-it-works" but there is no information about how to generate a nonce from a custom form.

1,374 Views
Message 1 of 4
Report
3 REPLIES 3
Admin

Hi @nimapatel!

 

This doc shows how to receive the nonce from Android. It also might help to take a look at our SDK Quick Start (which is just a pre-built example).

 

Hope this helps!

nika
Beta Community Manager, Square
Join the Beta Community
Evaluate | Influence | Engage


1,352 Views
Message 2 of 4
Report

@nika 

Can you help me for this How to create nonce without using Square Payment Form?

1,347 Views
Message 3 of 4
Report
Admin

Hey @nimapatel- I confirmed with our API Team that there is no way to create a nonce without using the payment form (or in-app payments SDK which is basically just the mobile payment form).

 

Hope this helps answer your question!

nika
Beta Community Manager, Square
Join the Beta Community
Evaluate | Influence | Engage


1,324 Views
Message 4 of 4
Report