The payment fails if they don’t have a lightning address on their profile. My service is just an LNURL service proxy that requests a zap invoice from the user’s LNURL service provider.
You can take a look at these 2 files
https://github.com/SamSamskies/lnurlzap/blob/main/pages/api/zap/%5Bid%5D/index.ts
https://github.com/SamSamskies/lnurlzap/blob/main/pages/api/zap/%5Bid%5D/callback.ts
Please Login to reply.
No replies yet.