breezmobile icon indicating copy to clipboard operation
breezmobile copied to clipboard

Trigger POS transaction by URL from another app

Open iBobik opened this issue 4 years ago • 5 comments

I work with a cashier developer, they are interested in implementing LN payments into their cash registers. They develop Android and iOS app, delivered by app stores or on their HW.

The best solution will be if they can integrate with a stand alone wallet app by calling URL handlers with x-callback.

Is there option in Breez to trigger transaction in POS mode (so service does not have to write fiat amount and tap Charge)? Is there a standard URL handler fot this? Ideally Breez should implement also x-callback, so after successful payment it could open cashier app back with info about it.

iBobik avatar Dec 01 '21 15:12 iBobik

@iBobik have a look at https://tftc.io/martys-bent/issue-1181-bip21-is-a-no-brainer/ if you didnt see it yet.

vv01f avatar Apr 11 '22 13:04 vv01f

@vv01f How is it related to this feature request?

iBobik avatar Apr 11 '22 15:04 iBobik

@iBobik It's the URL format that is already available in some apps and the article describes how to adapt it for adding invoice information. So if someone desires to implement anything this could be a viable option to go for. Also there is documentation on how other apps are doing in that regard.

vv01f avatar Apr 11 '22 16:04 vv01f

But it is for completely different use-case - POS app to control Breez POS. URL handler will look like: breez://pos?amount=12&currency=USD

Honza Pobořil

11. 4. 2022 18:42:34, Wolf @.***> napsal:

@iBobik https://github.com/iBobik It's the URL format that is already available in some apps and the article describes how to adapt it for adding invoice information. So if someone desires to implement anything this could be a viable option to go for. Also there is documentation on how other apps are doing in that regard.

— Reply to this email directly, view it on GitHub https://github.com/breez/breezmobile/issues/642#issuecomment-1095288770, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEV6WBWKLLF4BWQP6442ZDVERI7VANCNFSM5JE24QRQ . You are receiving this because you were mentioned.Message ID: @.***>

iBobik avatar Apr 11 '22 17:04 iBobik

ok, wasnt imagining anyone would think of sth that much specific. nevermind.

vv01f avatar Apr 11 '22 17:04 vv01f