Closed hazzo closed 1 year ago
Okey I think I was getting something wrong. The paymentSourceId
in the verification flow is not a payment id if not:
paymentSourceId | string | This ID can be the nonce returned by CardEntryFlow or a card-on-file card ID for the buyer's payment card stored with Square.
Right?
Describe your question
Hi, thanks for the flutter plugin for using your native In App Payments native SDK.
I'm encountering an odd behaviour that I really don't know if is right or not. I'll enumearte the steps because it's easier to explain:
1 - Execute
startCardEntryFlow
2 - Enter sandbox card 4111 1111 1111 1111 3 - Finish entering card and capturing nonce inonCardNonceRequestSuccess
. Use nonce in API Explorer to create payment 4 - Use payment source id to executestartBuyerVerificationFlow
5 - Verification process complete and received verification token ononBuyerVerificationSuccess
. 6 - Complete payment in API explorer with verification token.7 - Start process again, execute
startCardEntryFlow
8 - Enter sandbox card 4111 1111 1111 1111 or other card as 5105 1051 0510 5100 9 - Hera comes the odd part. Once the entry card is finished instead of executingonCardNonceRequestSuccess
the callback executed isonBuyerVerificationSuccess
with a verify token again.How is that possible? I watched the swift code and it's done on purpose but I don't understand why.
Thanks again!