#Atish
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
Hello, how can I solve the above issue?
taking a look please hold on a second
you need to enable creating express accounts in the countries in this dashboard page
https://dashboard.stripe.com/test/settings/connect/express before being able to create the account links
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
๐
I need to provide refresh url here
Did you try this link?
Its being refreshed
So I want to land in the same page even after refreshing the page
I'm not sure I follow
val accountLinkCreateParams = AccountLinkCreateParams.builder()
.setAccount(account.id)
.setReturnUrl("https://example.com/return")
.setType(AccountLinkCreateParams.Type.ACCOUNT_ONBOARDING)
.build()
val accountLink = AccountLink.create(accountLinkCreateParams)
return accountLink.url
In the above code, I need to set refreshurl to the same page of account setup
Account setup must be done in single setup, user can't refresh the page while setting up the account?
the refresh url is meant to be used so once the account link gets expired the connect account will visit the refresh_url where you would provide a new account link
So you mean in refresh url I should create a new url for account setup and redirect there?