bugfix
This commit is contained in:
parent
cb3eaa2c8c
commit
5a8e287797
@ -1,9 +1,18 @@
|
|||||||
url = await create_payment(request, params_kw)
|
debug(f'recharge.dspy: {params_kw=}')
|
||||||
return {
|
try:
|
||||||
"widgettype":"Iframe",
|
url = await create_payment(request, params_kw)
|
||||||
"options":{
|
return {
|
||||||
"url": url,
|
"widgettype":"Iframe",
|
||||||
"height": "100%",
|
"options":{
|
||||||
"width":"100%"
|
"url": url,
|
||||||
|
"height": "100%",
|
||||||
|
"width":"100%"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
except Exception as e:
|
||||||
|
return {
|
||||||
|
"widgettype":"Text",
|
||||||
|
"options":{
|
||||||
|
"width":"100%",
|
||||||
|
"text":f"{e}"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user