return a reason of failed payment to the pos; disable a change of wallet in the form
This commit is contained in:
parent
5c6cd70d3b
commit
49c58cc8d0
2 changed files with 3 additions and 2 deletions
|
|
@ -136,8 +136,8 @@ async def lnurl_callback(
|
|||
)
|
||||
|
||||
return {"status": "OK"}
|
||||
except:
|
||||
return {"status": "ERROR", "reason": f"Payment failed"}
|
||||
except Exception as exc:
|
||||
return {"status": "ERROR", "reason": f"Payment failed - {exc}"}
|
||||
|
||||
|
||||
# /boltcards/api/v1/auth?a=00000000000000000000000000000000
|
||||
|
|
|
|||
|
|
@ -215,6 +215,7 @@
|
|||
emit-value
|
||||
v-model="cardDialog.data.wallet"
|
||||
:options="g.user.walletOptions"
|
||||
:disable="cardDialog.data.id != null"
|
||||
label="Wallet *"
|
||||
>
|
||||
</q-select>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue