Recently there were discussions about a payment protocol on Nano Forum however there's a strong position from Nano Foundations to not implement any sort of arbitrary field so any kind of reference id, payment id or description won't be possible at the protocol level.
I honestly agree with their position, especially that the arbitrary field is just important for 2 parties involved in the payment and will have 0 value for them after the payment is finished.
Since the discussion there is not getting anywhere and keep reverting back to the arbitrary field I'd like to bring this discussion here; Natrium is the most used Nano wallet and you guys are also responsible for Kalium and Banano so I think it's the perfect place.
Yesterday I came up with a possible solution to this problem that doesn't rely on the protocol to exchange payment ids and I'd like to hear your opinion on this.
Here's my idea:
Website
Create payment id
Generate callback url
Create QR code with callback and payment modes
Natrium
Read QR code
User confirm transaction
Generate the transaction
Send the hash to website callback
If website return http 200 publish transaction
QR code:
nanopay:nano_xxxxxxx?amount=1&callback=https://yyyyy/payments/payment-123&modes=ONLINE&expires=<timestamp>
Hello,
Recently there were discussions about a payment protocol on Nano Forum however there's a strong position from Nano Foundations to not implement any sort of arbitrary field so any kind of reference id, payment id or description won't be possible at the protocol level.
I honestly agree with their position, especially that the arbitrary field is just important for 2 parties involved in the payment and will have 0 value for them after the payment is finished.
Since the discussion there is not getting anywhere and keep reverting back to the arbitrary field I'd like to bring this discussion here; Natrium is the most used Nano wallet and you guys are also responsible for Kalium and Banano so I think it's the perfect place.
Yesterday I came up with a possible solution to this problem that doesn't rely on the protocol to exchange payment ids and I'd like to hear your opinion on this.
Here's my idea:
QR code:
nanopay:nano_xxxxxxx?amount=1&callback=https://yyyyy/payments/payment-123&modes=ONLINE&expires=<timestamp>
Online mode:
{ "mode": "ONLINE", "hash": "<hash>" }
Offline mode (need to be polished):
{ "mode": "OFFLINE", "transaction": {<transaction>} }
Multi wallet:
QR code: http://yyyyy/payments/payment-123
Supported currencies:
Advantages:
What do you guys think? Is second layer payment something you guys may consider to add to Natrium and Kalium?