return a reason of failed payment to the pos; disable a change of wallet in the form
This commit is contained in:
@@ -136,8 +136,8 @@ async def lnurl_callback(
|
|||||||
)
|
)
|
||||||
|
|
||||||
return {"status": "OK"}
|
return {"status": "OK"}
|
||||||
except:
|
except Exception as exc:
|
||||||
return {"status": "ERROR", "reason": f"Payment failed"}
|
return {"status": "ERROR", "reason": f"Payment failed - {exc}"}
|
||||||
|
|
||||||
|
|
||||||
# /boltcards/api/v1/auth?a=00000000000000000000000000000000
|
# /boltcards/api/v1/auth?a=00000000000000000000000000000000
|
||||||
|
|||||||
@@ -215,6 +215,7 @@
|
|||||||
emit-value
|
emit-value
|
||||||
v-model="cardDialog.data.wallet"
|
v-model="cardDialog.data.wallet"
|
||||||
:options="g.user.walletOptions"
|
:options="g.user.walletOptions"
|
||||||
|
:disable="cardDialog.data.id != null"
|
||||||
label="Wallet *"
|
label="Wallet *"
|
||||||
>
|
>
|
||||||
</q-select>
|
</q-select>
|
||||||
|
|||||||
Reference in New Issue
Block a user