Reputation: 184
I am using SendPayment intent using Sirikit with my payment domain app. Once I say "Send 10$ to William using payments app", it goes to Intent handler but it shows internet results rather than asking for the confirmation and showing default intent UI. It was working last week, but it suddenly stopped working. Anybody else facing this issue? I checked the other domain like "SendMessage" is working.
Any leads on this will be highly appreciated. Thanks in Advance
Upvotes: 3
Views: 589
Reputation: 48
We have found that you need to add a paymentRecord to the INSendPaymentIntentResponse, before returning it from the confirm and handle methods in the Payment Intent Handler. Give this a shot and see if that fixes it for you.
Upvotes: 3
Reputation: 150
We are seeing the same issue.
SendPayment intent was working late last week. No code changes and when I tested it today it just pulls up web search results instead of showing the payment confirmation.
What is weird is that if you trace it, it is properly calling the following 2 methods:
resolvePayeeForSendPayment: withCompletion:
resolveCurrencyAmountForSendPayment: withCompletion:
But confirmSendPayment: completion: is never called.
Also reported by a user in this thread on Apple Dev Forums (post #3) https://forums.developer.apple.com/message/158939#158939
Upgrading to Beta 4 on the phone didn't help (same behavior). Installing Xcode Beta 4, recompiling, and redeploying didn't help (same behavior).
Upvotes: 0