Web Payments SDK and nonce for CreateCustomerCardAsync

I’m trying to move from sqpaymentform to the web payments sdk, i’m generating the token just fine, but i’m simply trying to add the card to the customer’s profile. In sqpaymentform, we called verifyBuyer which would create the nonce necessary to add the card on file, without making a payment.

What is the corresponding call in web payments sdk that allows me to generate a nonce without taking a payment?

Thanks,
Jim

I actually think I had that backwards, i get the token from the verifyBuyer call, and the nonce was already received from the cardNonceResponseReceived event. Still need to know how to get a nonce, as I can’t make the CreateCustomerCardAsync without a nonce.

Thanks,
Jim

And I was able to call verifyBuyer, but it doesn’t contain a nonce either.

Thanks,
Jim

Apologies, I figured this out, the nonce was actually the token that was coming back from the original call to tokenize. Sorry about the confusion… Feel free to delete this thread if not useful.

Glad to see that you figured it out. Please feel free to reach out if you have any additional questions. :slightly_smiling_face: