3

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

2 Answers2

3

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.

  • Adding a paymentRecord does indeed get rid of the error. THANK YOU !!!! – Fresh One Aug 10 '16 at 19:51
  • As I have only to hardcode it to show it in a demo is grand, what you suggest about manually adding a paymentRecord seems to work (thanks!), but I wouldn't mark it as the valid solution for this post, that's not the way it's supposed to be. Also, for the handle part, it redirects to the app when before it was handling the UI as well – fray88 Aug 12 '16 at 08:58
0

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).

Fresh One
  • 150
  • 1
  • 9