Getting notified when the user pays with Apple Pay ?

Hi there,

I have an iOS app that helps users manage their budget and wondered if it would be possible to integrate Apple Pay in such a way that when the user pays something with Apple Pay the app would get notified and would add the newly paid amount to the user's expenses.

Is it possible?
If yes, can you point me to an example code?
if no, any idea?

Regards,
Thierry
I would be very surprised if that were possible.

Think of it: that would mean that your app would know what user is buying. And could make any use of this information.
That would be a disastrous privacy breach.

So, I would advise to forget it and design an easy to use way for user to enter this information himself or herself in your app.
The app could request access to the user's Apple Pay activity. The user would have to grant the access. I don't see a "privacy" breach...

The app could request access to the user's Apple Pay activity. The user would have to grant the access. I don't see a "privacy" breach...

Yes it could, if Apple allowed to do so.
Hence my point. My understanding is that Apple does not allow this, for privacy reason.

The topic has been discussed in several threads.
https://developer.apple.com/forums/thread/25677


Getting notified when the user pays with Apple Pay ?
 
 
Q