#mas-usequeuecom_api

1 messages Ā· Page 1 of 1 (latest)

maiden swanBOT
#

šŸ‘‹ Welcome to your new thread!

ā²ļø We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

ā±ļø We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

šŸ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1265677659904540827

šŸ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

vague cloudBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

elfin magnet
#
session = Stripe::Checkout::Session.create({
            ui_mode: 'embedded',
            line_items: extracted_data,
            # payment_method_types: ['card', 'us_bank_account'],
            custom_fields: [
              {
                key: 'company',
                label: {
                  type: 'custom',
                  custom: 'Company name',
                },
                type: 'text',
              },
            ],
            mode: mode,
            discounts: [{ coupon: coupon }],
            customer: customer,
            automatic_tax: @organization.stripe_account.automatic_tax.present? ? {enabled: true} : nil,
            tax_id_collection: {enabled: @organization.stripe_account.tax_collection.present?},
            billing_address_collection: @organization.stripe_account.billing_address_collection ? 'required' : 'auto',
            subscription_data: {
              application_fee_percent: application_fee, 
              trial_end: trial_end_date_seconds
            },
            return_url: "#{params[:domain]}/stripe/checkout_successful?session_id={CHECKOUT_SESSION_ID}&organization_id=#{@organization.token}&service_id=#{params[:service_id]}&service_price=#{params[:chosenPrice]["id"]}&project_service_checkout_id=#{params[:project_service_checkout_id]}&coupon=#{coupon}&referral_code=#{params[:referralCode]}"
          })
surreal dock
#

hello, thanks for the info looking in to this

#

One quick thing to double check, because you are using connect here, this would be based on your payment method settings for your connected accounts specifically. Have you double checked those settings to see what is turned on?

elfin magnet
#

The settings would be on the connected account, right? yes, bank is enabled.

#

if i put in # payment_method_types: ['card', 'us_bank_account'], it'll show the us bank account option

surreal dock
#

Not quite, your platform account's payment method setting for its connected accounts

elfin magnet
#

Oh

#

i'llc heck that sec

#

Like this, right? Still same result

surreal dock
#

The link to the settings that I am talking about is in the lower right of that screenshot

elfin magnet
#

Oh

surreal dock
#

If you click on that it will bring you to a similar page but it defines your PMs for direct and destination + OBO charges

elfin magnet
#

Got it
So for us_bank_account which one would that be? ACH or bank trasnfer?

surreal dock
#

ACH Debit, bank transfers can go through ACH rails but that is a different payment method

elfin magnet
#

I'm guessing enabling this will automatically choose whatever the connect account settings are?

surreal dock
#

With ACH debit you charge the bank account like a credit card, with bank transfer you give the user a bank account for them to send money to from their bank

#

Yes, that lets your connected accounts override your settings

elfin magnet
#

Okay got it, it seems like it requires updating all of the connect accounts after enabling it. So I'll wait and see if this resolves it. Thank you for your help!

#

It's been quite a bit of time and it seems to be stuck

#

i also don't have anywhere near 702 connect accounts

#

I mean, i guess i don't see a problem keeping payment_method_types: ['card', 'us_bank_account'], as an option on the checkout session creator. If the connected account doesn't have ACH, i assume it'll automatically not include it šŸ¤·ā€ā™‚ļø

surreal dock
#

It will actually error out if that is an invalid type. If you reach out to our support team, they can look in to what part of the process is stuck. It definitely should have gone forward by now https://support.stripe.com/?contact=true

#

If you reload the page does it still say it is updating that config?

elfin magnet
#

okay seems it finished and is working, thank you!

#

It will actually error out if that is an invalid type. by this you mean if i wrote an incorrect option and not because it's not enabled on the connected account, right?

maiden swanBOT