Need help for indicating payment_received in Alby Go client
- Dominant language
- TypeScript
- Stars
- 57
- Forks
- 21
- Avg merge
- 2h 9m
- Merged PRs (30d)
- 1
Description
I have everything pretty much working in the Alby Go Client. One thing I don't have working yet, is sending the right event to indicate that 'Waiting for payment' is "Received" after the invoice is rendered as a QR code and paid. I have confirmed that the payment does actually go through (updated balance and transaction). I have also confirmed that everything works ok when I am using Alby Hub as the NWC back end.
The question is - what event do I send back to the app to indicate that the payment is successful? Looking at NIP-47 it seems to be the following sent as a `23196` notification event. Or should it be the response event `23195`. I've tried both and it doesn't seem to work.
```
{
"notification_type": "payment_received", //indicates the structure of the notification field
"notification": {
"payment_hash": "0123456789abcdef..." // notification-related data
}
}
```
So bottom line - I am asking what event do I send once I know that the invoice is paid?
Any help is appreciated!
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.