-
-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to create standard connect account with business type #852
Comments
Also is it possible that this I am new to rails so at first i did not know you can pass the stripe_account as seen above what i did previously was this
that did not create the customer or add the subscription to pay_subscription table. So in the process of making research i saw this #565 but i have made a PR #853 for beginners like me. |
I was able to solve the first problem by doing this
|
Since Stripe doesn't allow that, you'll want to include |
i tried doing this in my controller
account = @user.merchant_processor.create_account( type: 'standard', email: current_user.email, business_type: 'individual', business_profile: { url: 'http://lvh.me' } )
but when i try running the code i get this error
but when i remove the business_type and business_profile i was able to create the standard account for some weird reason. when i checked the log i see this
{ "type": "standard", "email": "sample@gmail.com", "business_type": "individual", "business_profile": "http://lvh.me", "capabilities": { "card_payments": { "requested": "true" }, "transfers": { "requested": "true" } } }
as seen above it keeps adding capabilities for some weird reason.
The text was updated successfully, but these errors were encountered: