Ok I think I understand more. It sounds like you are already generating lnurls that deeplink to lightning wallets from the browser. In that case, yes, all you need to do is send the 'successAction' object in the response given from the callback url. To display a url, the successAction object needs to look like:
{ "tag": "url", "description": "Thank you for your purchase. Here is your order details", // Up to 144 characters "url": "https://www.ln-service.com/order/<orderId>" // url domain must be the same as `callback` domain at step 3 }
^ sample json taken from LUD-09 spec
Oh, thanks. hmm, maybe we are getting there but still lost. I don't think I am generating lnurls, my deeplinks look like this: "lightning: lnbc..."
So I guess I need to learn 2 steps:
  1. How to create LNurls (instead of bolt11)
  2. Encode the LNurl with params into a deeplink
is that right?
reply
reply