bugfix
This commit is contained in:
parent
cb3eaa2c8c
commit
5a8e287797
@ -1,9 +1,18 @@
|
||||
url = await create_payment(request, params_kw)
|
||||
return {
|
||||
"widgettype":"Iframe",
|
||||
"options":{
|
||||
"url": url,
|
||||
"height": "100%",
|
||||
"width":"100%"
|
||||
debug(f'recharge.dspy: {params_kw=}')
|
||||
try:
|
||||
url = await create_payment(request, params_kw)
|
||||
return {
|
||||
"widgettype":"Iframe",
|
||||
"options":{
|
||||
"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