Update routes/hello.py
Browse files- routes/hello.py +2 -2
routes/hello.py
CHANGED
@@ -58,8 +58,8 @@ def create_account_link(link_data: AccountLinkRequest):
|
|
58 |
try:
|
59 |
account_link = stripe.AccountLink.create(
|
60 |
account=link_data.account_id,
|
61 |
-
return_url="
|
62 |
-
refresh_url="
|
63 |
type="account_onboarding",
|
64 |
)
|
65 |
return {"url": account_link.url}
|
|
|
58 |
try:
|
59 |
account_link = stripe.AccountLink.create(
|
60 |
account=link_data.account_id,
|
61 |
+
return_url="https://ameddes.com/onboarding?success=true", # Updated return URL
|
62 |
+
refresh_url="https://ameddes.com/onboarding?success=false", # Updated refresh URL
|
63 |
type="account_onboarding",
|
64 |
)
|
65 |
return {"url": account_link.url}
|