#dev-help

1 messages · Page 113 of 1

slate turtle
#

Question: We need some help, our webhooks are not working as of Tuesday.
We did not change anything and now we are getting an TLS error saying the domain is not configured correctly. We have checked all the DNS entries with ssllabs and see no issues. This is causing production outages.

bold basalt
#

@slate turtle hello, can you share an event ID for an event that didn't hit your endpoint? (just the evt_123 type ID, nothing else)

slate turtle
quasi flicker
#

@bold basalt oh great! thanks a lot!

bold basalt
#

@slate turtle can you tell me more about what the TLS error says and at what point do you get it, after you're getting the webhook event to your endpoint?

slate turtle
slate turtle
bold basalt
#

@slate turtle checking some things ... back in a bit

bold basalt
#

@slate turtle and you're sure nothing changed before 2021-06-22 UTC on your server? like changing some networking or openssl library etc?

slate turtle
#

Positive

patent turtle
#

@mighty hill do you know whether https://github.com/stripe/stripe-react-native has payouts integrated into it? Using the library, can I fetch bank account details from merchants and then later pay them via Stripe with a standard account?

GitHub

React Native library for Stripe. Contribute to stripe/stripe-react-native development by creating an account on GitHub.

mighty hill
#

@patent turtle The operations you're talking about are typically performed server-side with a secret API key, but it's possible I'm misunderstanding what you mean by "fetch bank account details from merchants". Can you provide more details about what you're trying to do?

patent turtle
#

I'm working on an app that lets customers buy food from local restaurants. I will use the library to onboard the clients - get their card details and collect money. Then I need to send this money to restaurant owners. For now I just ask them to fill out their bank account details with the manager app and manually send them money once a month. I'm thinking that if the money is already on Stripe, it could make sense to have Stripe collect the bank account details and then we will directly send money with Stripe.

fast mantle
#

@slate turtle I'm going to also take a look at the webhook for you

mighty hill
patent turtle
#

I looked into Stripe Connect and if I can use the standard account that has no fees, it could be useful, especially until and if the app grows and payouts need to be automated

vocal wagon
#

@patent turtle welcome 🙂

patent turtle
#

But the question is whether Connect is part of the react native library

mighty hill
#

@patent turtle Yeah, Connect is supported in the library.

patent turtle
#

Nice 🙂 So just to be clear, I plan to ask for bank account details and pay out with stripe - can I use the standard account for this?

mighty hill
#

@patent turtle Well, as the platform with Standard connected accounts, no, not really. With Standard accounts the connected account holders have full access to the Stripe Dashboard and would manage their own bank account info in there. You can point them to a hosted onboarding experience that includes setting up their account and providing those details, but the flow itself isn't something you would manage.

patent turtle
#

I see. So for me to collect bank accounts from merchants and pay them with my own Stripe account would require a non standard account.

mighty hill
#

@patent turtle If you wanted to keep full control over the entire experience you'd need to use Custom connected accounts, yeah. See here for a comparison of the different Connect account types: https://stripe.com/docs/connect/accounts

patent turtle
#

Perfect. Thanks!

fluid shadow
#

Stripe is refusing my account and not giving any sort of explanation and when asked why they refuse to elaborate. Terrible customer service. Is that the customer service the creators set out to achieve????

mighty hill
#

@fluid shadow I wish I could help, but this chat is focused on developers and technical questions. Our support team will be able to assist you better than I can: https://support.stripe.com/contact/email

fluid shadow
mighty hill
#

@fluid shadow That's all they have. We don't have bots or anything like that. When you're talking to support you're always talking to a person.

fluid shadow
#

Why do they not have a customer service number????

fluid shadow
mighty hill
#

@fluid shadow Depending on several factors you may be able to request a call here: https://support.stripe.com/contact

fast mantle
#

The same is true for Express, as well

patent turtle
fast mantle
# patent turtle So you're saying I use the API to collect bank account details from restaurant o...

Yes, so you can create Standard connect accounts with https://stripe.com/docs/api/accounts/create, passing type=standard and passing a value for external_account (https://stripe.com/docs/api/accounts/create#create_account-external_account).

mighty hill
#

@patent turtle To clarify, the Standard account holder will have the ability to edit or replace the bank account details. I'm not sure what you mean by "claim those bank accounts" but it might not work the way you expect.

fluid shadow
patent turtle
mighty hill
#

@fluid shadow I don't know the reasons there isn't a number you can call. I just know there are various ways to contact support, including the option to request they call you.

fast mantle
#

@slate turtle The error we're seeing on the back-end for your webhook does look suspicious and I'm filing a ticket with our API services team to take a closer look.

patent turtle
fluid shadow
mighty hill
patent turtle
#

My case is very clear. I need to be able to pay out restaurant owners and I prefer to avoid charges, certainly at the beginning, therefore the standard account is what I'm after (I guess?)

mighty hill
#

@fluid shadow That's correct. This is not Stripe support, this is a community for Stripe developers.

patent turtle
#

Clarifying so I don't go spending hours developing only to learn I cannot do what I need to do

fluid shadow
mighty hill
#

@patent turtle Yeah, as long as you're okay not having direct control of the payout account associated with the Standard accounts, that will work.

wary spade
#

Is there a method of submitting credit card details directly in the Stripe API that doesn't require the use of client side/ iframe implementation?
We have an API that is completely headless and we don't have the option to submit HTML to the end user.

I've seen the 'Send raw PANs' option but I'm curious if this is my only option.
(We're already PCI compliant and certified and are only looking to process standard CCs)

patent turtle
mighty hill
wary spade
#

Can we provide the cc numbers directly in the payment intent

mighty hill
#

@patent turtle You can send money to the Standard account, but from there the payout account is controlled by the account holder.

fast mantle
wary spade
#

Ok, I'll review that thank you

patent turtle
patent turtle
mighty hill
#

@patent turtle Yeah, for that you would need Custom accounts to have full control of the entire experience.

fast mantle
# patent turtle yeah

You can use cross-border payouts: https://stripe.com/docs/connect/cross-border-payouts
There's essentially no solution where you don't need to collect anything other than bank details: government regulations and financial partner rules require some information about their identity to be collected (name, DOB, etc.). Cross-border payouts ("recipient TOS"; it's simpler even in the domestic use case) is going to give you the simplest onboarding, and it'll let you send transfers to those accounts and get them paid. My recommendation is to use Express for this, since you don't need to worry about building the forms and collecting information correctly (we take care of localization, making the inputs validate/format correctly, reaching out for new details if their bank fails a transfer, etc.). You can still provide bank details when you create the account

#

Custom will let you do this entirely without sending the user to a Stripe page, but you'll need to build all of the UI for collecting the necessary information yourself, and if it changes (it likely will), you'll be on the hook for updating your UIs.

#

We do offer Connect Onboarding for Custom, which will collect KYC information. But currently the Connect version (unlike Express/Standard) doesn't collect bank details. So you'd have to manage that yourself, separately

patent turtle
patent turtle
#

Perhaps in the very beginning not because it would mean more dev time and more delay, but as soon as possible yes

mighty hill
#

@patent turtle What do you mean by "integrated"? You can write a React Native app that onboards people onto Standard, Express, or Custom accounts but doing so it's like a few lines of code.

#

@patent turtle Some steps happen on your server, some happen on the client (your app).

#

@patent turtle How you implement the specific process is up to you and requires you to code what you want.

patent turtle
twin flame
#

Hello, have a quick question. I am creating a customer invoice using with collection_method: "send_invoice".

  1. Will Stripe send this invoice on customer's email address along with a way to enter card details and make a payment? Currently when I am creating such an invoice. I don't receive any email.
  2. If customers chooses to pay using that invoice email, will Stripe store the payment method for future use?
mighty hill
#

@twin flame

  1. Will Stripe send this invoice on customer's email address along with a way to enter card details and make a payment? Currently when I am creating such an invoice. I don't receive any email.

Yep, they'll get an email pointing them to a Stripe-hosted Invoice page where they can pay. You can see this page by visiting the hosted_invoice_url on the Invoice: https://stripe.com/docs/api/invoices/object#invoice_object-hosted_invoice_url

  1. If customers chooses to pay using that invoice email, will Stripe store the payment method for future use?

Depends on the payment method. See here for details: https://stripe.com/docs/invoicing/hosted#payment-method-persistence

twin flame
mighty hill
#

@twin flame Yep!

twin flame
#

Alright thanks @mighty hill . How can I test all of this? I am currently sending the create and finalize invoice but get no emails as such. How do I make sure integration will work as expected in production?

mighty hill
#

@twin flame I think you can manually trigger an email in the Dashboard, hang on...

#

@twin flame Yeah, if you pull up the Invoice in your Dashboard you can click on the Send invoice button to send an email in test mode.

twin flame
mossy wren
#

Hello Stripe team. For our customers who are getting trying to establish a connect stripe account routed to https://connect.stripe.com/, we are trying to find out how to enable the dropdown option for users to pick their country code. We are able to see that dropdown option in other platforms utilizing Stripe, but that option doesn't seem to be there for us. Insights?

mighty hill
#

@mossy wren Hello! Can you provide more details? What country is your platform account in? Are you specifying a country when creating the connected account via the API?

mossy wren
#

@mighty hill Our platform is currently in America, but we have a client who is trying to connect their bank account from Mexico and seem to have problem doing so.

#

We're trying to figure out the issue and one of the discrepancy we see is that the user wasn't able to select his country. Not sure if that is the root of the issue, however.

mighty hill
#

@mossy wren Can you address my question about providing the country when you create the account via the API?

mossy wren
#

We are creating the account via the API. Currently, we're setting the country as "US".

mighty hill
#

@mossy wren So the account holder is in the US but they have an MX bank account?

worldly knoll
#

I have a curious question. Say I have Elements on the one page (from Stripe Account A's keys) that generates a payment token, can charge that token on say Stripe Account B? I ask because the client I'm working on is switching Stripe accounts but I have to support both for the time being (for refunds primarily and webhooks)

mighty hill
#

@worldly knoll No, you can't do that.

worldly knoll
#

Thought so, just wanted to confirm 🙂

mossy wren
#

@mighty hill The account holder is in MX with an MX bank account. I was wondering if we are able to have the user select their own country via connect.stripe.com/express? Is there a place where I can configure that?

mighty hill
#

@mossy wren If you don't specify a country when creating the account Express onboarding should prompt for one.

#

@mossy wren At least I thought that's how it worked, let me confirm...

worldly knoll
#

Interesting, good to know. Unfortunately they are not connected. I was thinking about what to do with existing users on Stripe Account A when they want to upgrade/renew. It's probably best to just create t hem as a new Customer on Account B and then process the charge.

mighty hill
#

@mossy wren Do you have Mexico enabled there for onboarding and for Transfers and Payments?

mossy wren
#

Ah, we just enabled Transferes for Mexico

#

But after enabling Mexico, we're still not seeing the drop down for the country list for new users trying to connect to Stripe Account

mighty hill
#

@mossy wren Did you enable Mexico for Payments as well as Transfers?

fossil pilot
#

Hey!! I’m trying to access my stripe account however it’s with my old phone number and I’ve got rid of my SIM card😩 it’s texting codes to my old number to access my account, can somebody please help me😥 thank you

mighty hill
#

@mossy wren Or, alternatively, are you only requesting transfers during onboarding?

mossy wren
#

We're only requesting transfer function for our Stripe Connect Accounts

hushed charm
#

Looking to get the default currency symbol included on the invoices - do you guys know how to do that? e.g. I have USD$ as default but it only shows '$' and no 'US$'

mossy wren
#

They will have Subscriptions connected to their Product/Price and the idea is to have the payouts be paid to their Stripe Connect account at every payout interval.

fossil pilot
mighty hill
#

@mossy wren Right, but is &suggested_capabilities[]=card_payments anywhere in the Express onboarding URL you're using?

#

@hushed charm Can you provide more details? Looking to get it from where?

#

@fossil pilot You need to contact support about that issue. There's nothing we can do here to help you log in to your account.

mossy wren
#

@mighty hill No, I don't see that param in the express onboarindg URL

hushed charm
#

i.e. t he 'US' shows but when I actually send the invoice to pay to customer the 'US' is removed

fast mantle
#

@mossy wren Can you send me the link to your Express onboarding flow? I can have a look

#

(or are you using account links?)

mighty hill
#

@mossy wren Mexico should be showing up then; it's working when I test it here. You're 100% certain Mexico is enabled in your Dashboard both at the top and inside Transfers, and that those settings have been saved with the Save button at the bottom?

wary spade
#

Hey guys I have a question about Idempotent keys.

Idempotent keys for refunds seem to have different behaviors than when they're used for charges?
A duplicate charge with the same idempotent key as a previous charge raises the expected exception. However, a duplicate refund with the same idempotent key as a previous refund just passes through.

Is this behavior by design or is there something I'm not passing?

mighty hill
mossy wren
#

@mighty hill Yes, we checked off the country MX in both the top and inside transfer

fast mantle
sick talon
wary spade
#

I'm not saving the ids at the moment just rolling though some debugging but I get an exception when I pass in two identical charges with the same idempotent key.

#

When running a similar test with the refunds, two identical refunds with the same idempotent key I don't get a similar exception.

sick talon
#

happy to take a look at those and see what's up

wary spade
#

Got them 1 second

#

req_IFQFr2Y0pdJgDt and req_pDZwAmn1aN0Kpc

#

I was expecting to see an exception when we passed the same idem key, it looks like it recognizes that this is a duplicate but I didn't get an exception. Is there a way I can trigger an exception?

sick talon
timber mesa
#

Anyone else ever experiencing issues with getting TAX % displayed on your invoices?

#

not really related to dev but I can't find the answer anywhere

sick talon
timber mesa
#

well In my stripe settings I turned on that I want 21% tax on my invoices

#

on my templates

#

I enabled it

#

but when I take a payment there is no tax on the invoices

sick talon
timber mesa
#

yeah wait here,

wary spade
#

@sick talon
Here are my transactions that resulted in the exception:
req_N41C5VuPV1E3nA
req_OuQEUo82vrHw4n

timber mesa
#

Here i made a tax rate

#

and its active

#

so I am not understanding what exactly is going wrong

sick talon
wary spade
#

Ok, thank you

#

@sick talon
Is there anything we can look at that will show us that this is they type of success? A success that is simply a replay of the previous call based on the idempotent key?

#

Something in the original two ids I sent that shows a "hey this is actually a duplicate"?

sick talon
mighty hill
#

@slate turtle You still around?

pale pollen
#

I need some help, i have connected accounts, who take in payments, all that works great. what i am trying to do is get a list of transactions for a connected account, so i can display their overall net, fee, and total. but i cannot find a way to pass in an account_id and get a transaction list? anyone have any suggestions?

sick talon
timber mesa
sick talon
pale pollen
sick talon
sick talon
static vortex
#

@mighty hill I work with @slate turtle . Would you have an update?

fast mantle
pale pollen
mossy wren
static vortex
mighty hill
#

@static vortex Ah, hello! We think the issue is being caused by a new default security setting in newer versions of OpenSSL. It looks like your server isn't technically following the TLS spec (older versions of OpenSSL itself didn't follow the spec correctly) which is leading to the issue. Upgrading OpenSSL to the latest on your end should fix the issue immediately, or you can wait for us to revert the change (after which we'll send comms to impacted merchants, including you, and give you time to update before we enable the setting again).

static vortex
mighty hill
#

@static vortex Likely a few hours from now, give or take.

static vortex
mighty hill
#

@static vortex Happy to help! Sorry about the trouble!

wary spade
#

@sick talon I'm signing off for the day but before I report back my progress on the success' I've seen today can you check over the transactions on that account and let me know if you see anything that would be stopping those transactions from being used with a live account after that live account went thought the set-up process with Stripe?

#

(Sorry for the run on sentence)

sick talon
wary spade
#

Nope, that's pretty much what I was hoping to hear. Thank you very much for your help.

fast mantle
wary spade
#

Tomorrow is my birthday and this is gonna make for a great weekend 😛

mossy wren
#

@fast mantle we're using account links to onboard the account

#

stripe.accountLinks.create

#

Our goal is to let the users from other countries select their own country

sick talon
fast mantle
#

@mossy wren Can you share a snippet of what your stripe.accounts.create call looks like?

mossy wren
#
      account: stripeAccount.id,
      refresh_url: stripeConfig?.refresh_url,
      return_url: stripeConfig?.return_url,
      type: "account_onboarding",
    });```
#

Let me know if you need to see how we create the stripe account prior to the accountLinks.create

fast mantle
#

@mossy wren Sorry, I should clarify: the account links should be fine; what I'm looking for is the accounts create calls

#

i.e., where you're actually creating the account itself

mossy wren
#

Oh that was my fault!

#

Yes, let me send that to you. 1s

#
    business_type: "individual",
    email: params.email,
    individual: {
      email: params.email,
      first_name: params.realName?.first,
      last_name: params.realName?.last,
    },
    type: "express",
    metadata: {
      id: params.id,
    },
    settings: {
      payouts: {
        schedule: {
          interval: "monthly",
          monthly_anchor: 31,
          delay_days: "minimum",
        },
      },
    },
  });```
#

@fast mantle We initially had country: "US" as the param, but later removed it, thinking it would work but it's still defaulted to "US".

fast mantle
#

I'd suggest leaving the business_type parameter off of the account, though. It can actually simplify things depending on your express configuration

mossy wren
#

@fast mantle TY. Is there a place you'd suggest us looking into as to why people out of US are not able to connect to Stripe Connect Account?

fast mantle
mossy wren
#

@fast mantle Great, I'll try to obtain it and will circle back once I have it. I appreciate all your help.

finite dock
#

Is there a way to set the invoice item period parameter when creating invoices from the dashboard instead of via API?

red zealot
#

can i get the total amount i've transfered to a certain account within a certain period? i'd like to show my stripe connect users how much i've paid them this month so far and how much i paid them last month.

bold basalt
#

@finite dock hello, not sure, I'm not super familiar on all the functionalities of the Dashboard, I would say look around for it, and if it isn't in any obvious places, it might not be supported via the Dashboard

red zealot
bold basalt
finite dock
#

thanks @bold basalt ! it's a little more roundabout in the dashboard but I finally found it. It looks like they need to create a product with the proper billing term -> create a subscription -> schedule the subscription and choose a custom start date + end after 1 billing cycle

mighty hill
#

@static vortex @slate turtle We believe we've fixed the tls_error webhook delivery issue on our end, can you confirm things look good on your end?

upbeat grove
#
account_links = stripe.AccountLink.create(
                    account=business.stripe_account_id,
                    refresh_url='https://example.com/reauth',
                    return_url='https://example.com/return',
                    type='account_onboarding',
                )
#

this function create an onboarding page for express account

#

How can I pre-provide the email, I don't want the page to collect emails because I want to use the same email which they have in our system

mighty hill
#

@upbeat grove You can pre-populate the email by adding it to the Account object when you create it (prior to creating the Account Link).

upbeat grove
#
account = stripe.Account.create(
                    type='express',
                )
#

oh here?

mighty hill
#

Yep!

upbeat grove
#

I did and it created an account with the email but still asking

#
account = stripe.Account.create(
                    type='express',
                    email=request.user.email
                )
mighty hill
#

@upbeat grove Those links are one-time-use only, so I can't see what you're seeing.

upbeat grove
#

this is new

mighty hill
upbeat grove
#
account = stripe.Account.create(
                    type='express',
                    business_type="individual",
                    individual={
                        "email": request.user.email
                    }
                )
mighty hill
#

@upbeat grove Yeah, that looks right I think.

upbeat grove
#
        try:
            business = Business.objects.get(id=1)

            if not business.stripe_account_id:
                # Check if the user already has stripe account before creating a stripe account
                account = stripe.Account.create(
                    type='express',
                    business_type="individual",
                    individual={
                        "email": request.user.email
                    }
                )
                serializer = BusinessSerializer(instance=business, data={"stripe_account_id": account["id"]},
                                                partial=True)
                if serializer.is_valid():
                    serializer.save()

            # Create and return a link to an onBoarding page
            account_links = stripe.AccountLink.create(
                account=business.stripe_account_id,
                refresh_url='https://example.com/reauth',
                return_url='https://example.com/return',
                type='account_onboarding',
            )
            return Response(account_links)

        except stripe.error.StripeError as e:
            return Response({'stripe_error': str(e)}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
mighty hill
upbeat grove
#

some one in the channel was faster than you :p

mighty hill
#

Same for that link as well. Can you show me a screenshot instead?

upbeat grove
#

the email id in the dashboard was not changed. it only changes with email field i think

mighty hill
#

Can you paste the account ID here for me?

upbeat grove
#

acct_1J6OEa2XqAECqLwz

mighty hill
#

Thanks! Let me take a look, hang on...

#

Hm, let's see here...

#

@upbeat grove Will you create another Account Link for this account but don't share the link here? Just tell me when you've created it and I'll get the link directly from our logs.

upbeat grove
#

business_profile.support_email maybe

#

sure 1 sec

#

new acccount created acct_1J6OTI2YyNzlouHX

#

oh the same account?

mighty hill
#

New account is fine as long as it has the email set. 🙂

upbeat grove
#

yup, everything is same

mighty hill
#

@upbeat grove We did have a bug where this wasn't working, but it was fixed about a month ago. Trying to track down the details now, hang on...

upbeat grove
#

take your time

mighty hill
#

@upbeat grove Okay, I was mistaken, it is just the email property. I'll see about getting that API documentation updated. 😅

#

@upbeat grove But you said that didn't work either?

upbeat grove
#

lemme retry

dry venture
#

Hi guys, does anyone here know if there is a way around this

message: "You can't make any changes on a subscription that was not created by your application."
message_code: "unowned_subscription_general"
type: "invalid_request_error"

upbeat grove
#

nope, still same. account = acct_1J6Ob72YE3lNSXZ9

#

creating new link for you

mighty hill
#

@dry venture Hello! I don't think so, but let me check...

dry venture
#

Thank you!

mighty hill
#

@upbeat grove This is wild; it works on my test account but doesn't seem to on yours. Trying to figure out why.

upbeat grove
#

could you share your code?

dry venture
#

Thanks @mighty hill , pretty much want to be able to offer migrations to connect users from a competitor app to our app, but seems like this is not as easy as it should be

topaz root
#

Hey, does this replace IRC? What happened to freenode?

static vortex
mighty hill
#

@static vortex Glad to hear they're working again! You should receive an email soon with details, yep.

topaz root
#

Anyway, question: What is the correct way to cancel a subscription for a connected account with the Ruby client? Stripe::Subscription.delete does not accept at stripe_account parameter

mighty hill
#

@topaz root We're giving Discord a try to see how it works.

high hinge
#

@mighty hill how is this even possible?

#

Your IP address has been logged having 18 unique card holder names on the Stripe network. (within 7 days)

mighty hill
#

@topaz root It should accept that parameter just fine. Can you share the code and the error you're seeing?

high hinge
#

legit cant use stripe cuz of this -_-

mighty hill
topaz root
#

Stripe::Subscription.delete(s.stripe_id, {stripe_account: account_id}

mighty hill
#

@upbeat grove Just to make sure I'm not missing anything, here's the code I'm using (PHP):

$account = \Stripe\Account::create([
    'type' => 'express',
    'email' => 'test@example.com',
]);

echo $account . PHP_EOL . PHP_EOL;

$link = \Stripe\AccountLink::create([
    "account" =>  $account->id,
    "failure_url" => "https://example.com/failure",
    "success_url" => "https://example.com/success",
    "type" => "account_onboarding",
]);

echo $link->url;

That produces a link that leads to this:

topaz root
#

Stripe::InvalidRequestError ((Status 400) (Request req_HzbfOzzDTNEVwK) Received unknown parameter: stripe_account)

mighty hill
#

@topaz root I think you need to have the stripe_account specified in the third argument, not the second.

#

@topaz root If you put an empty argument in there for the second argument does it work as expected?

upbeat grove
#

oh, I think we misunderstood each other

high hinge
#

k well i sent an email hopefully they can tell me why there was 18 cardholders on my IP.... im So confused thanks @mighty hill

upbeat grove
#

I want the page to not take email from the customer and use the one I provide

topaz root
#

@mighty hill yup, that was it

mighty hill
#

@high hinge I mean, just speculation, but maybe that's in reference to an IP used by a cellular network that a bunch of people on the same carrier are also using?

topaz root
#

It would probably save a lot of pain if that param could be added to the standard options argument.

upbeat grove
#

I can see that there "test@example.com" but the user will have the ability to change it again

#

which i don't want 😦

mighty hill
#

@upbeat grove Oh, yeah, there's no way to prevent that from being changed. You can prefill it, but you can't prevent people from changing it.

high hinge
#

i mean ye i use a hotspot jetpack.. legit the only internet i can get where i live.

mighty hill
#

@topaz root It's not part of the body of the request though, which is why it goes in a separate argument.

topaz root
#

Fair, but the stripe client could detect it and act accordingly. The problem being that you have to build a whole abstraction around that parameter if you wish to do different kinds of operations on connected accounts.

#

Now I am writing a MyStripe module which mirrors Stripe in order to do that. Perhaps you know a better way.

mighty hill
#

@topaz root I don't think I have enough context about your use case to advise you. Can you provide more details about what you're looking for?

topaz root
#

@mighty hill Say you have 100 connected accounts in a multi-tenant app. You want to be able to cancel or create accounts on them all. Ideally you can just set the target account once somewhere then make calls. That would be easier if it could be done in the options hash instead of as a separate argument, that's all I'm saying.

#

Any situation where you might be passing a blank argument, like above, is smelly to me in Ruby.

upbeat grove
#

Can we use the same onboarding link if the customer want to update/add missing details?

#

or that link has to be generated by different function?

mighty hill
#

@upbeat grove For Express accounts, if they're already onboarded, you would send them to the Express dashboard for updates.

mighty hill
#

@upbeat grove Oh, yeah, if onboarding isn't complete you would generate another Account Link for them.

upbeat grove
#

got it

stable ice
mighty hill
sullen flint
#

Hello Stripe Team.

#

Can you help me, please? I have one question.

mighty hill
#

@sullen flint Hello! What's up?

sullen flint
#

Thank you for quick reply.

#

Is it possible to get the payment on stripe from China credit card?

#

@mighty hill

mighty hill
sullen flint
#

@mighty hill What about others china card?

#

e.g China Visa or China Master card, etc..

mighty hill
sullen flint
#

My customer has tried using China Visa card, but it was failed.

mighty hill
sullen flint
#

ok, I got it.

#

Thank you so much @mighty hill

mighty hill
#

Happy to help!

stable ice
#

Ah I see, thanks! I clicked on the link and I read that under settings.payouts.schedule.interval I can set that to manual. I also saw another stripe docs that pointed me to go to this link: https://dashboard.stripe.com/test/payouts However, this is all that I see on the page:

#

Where can I set it to manual on this page?

mighty hill
stable ice
#

Thank you! That worked

#

Once we select the manual option, however, how is the buyer able to manually select that the ordered item has been received so that the payout to the seller can be made?

mighty hill
#

@stable ice You would have to build that part on your end.

frail karma
#

Hi, I have two other accounts on Stripe. I am not sure how to close them. I am confused with the Stripe dashboard

frail karma
#

I am deaf and I am not sure how to chat with Stripe customer support.

mighty hill
#

@frail karma No problem, I can help you out!

frail karma
#

awesome

mighty hill
#

@frail karma In the top right of the Dashboard you should be able to click on the account name there to switch between accounts.

frail karma
#

I did

#

but it's different behavior

mighty hill
#

@frail karma Once you're in the account you want to close you can go to Settings > Account details and there's a Close account button at the bottom of that page.

#

@frail karma What's different behavior?

frail karma
#

I clicked on Teachable and it took me to different site. But i got two tabs "payout" and "Accounts"

#

i clicked on teachable from top left corner where i can switch between accounts

mighty hill
#

@frail karma Oh, okay, that's an Express account where you don't have full Dashboard access.

frail karma
#

ah ok

#

so yes

#

i have two express accounts

#

that i would like to close

#

since im not using them

#

I am not familiar with what express account means but how can I close them?

mighty hill
#

@frail karma I'm not sure, actually, but let me find out! Hang on...

frail karma
#

sure

#

stripe support emailed me the other but i dont understand API call

#

``After careful checking, I see that an Express account holders cannot delete their Express Connect account, however, this account type can be deleted by your platform making an API call with the account ID.

Having said that, it is therefore recommended that you reach out to them directly as they'll be best able to handle your request.
You can find related information about how they will proceed here:

https://stripe.com/docs/api#delete_account``

mighty hill
#

@frail karma Okay, looks like you can't close those accounts yourself. The Express accounts were created by third-party platforms and would need to be deleted by those platforms. You mentioned one was Teachable; they're the ones who would need to make an API call to Stripe on their end to close the account (that's what the support email was talking about).

frail karma
#

oh ok

mighty hill
#

So you'll need to reach out to Teachable and the other third-party that created the other account to close them.

frail karma
#

ok

#

thanks

mighty hill
#

Happy to help!

stable ice
# mighty hill <@!426560523685986306> You would have to build that part on your end.

Here's my proposed solution: in the order confirmation summary, I'll send a link to the buyer that allows the buyer to confirm that their product has been received and is in the correct condition. Once the buyer clicks on the button in that link, the payout will automatically be sent to the seller. I see that I have to implement the link and button part, but how exactly can I get the payout to be sent to a specific seller once this button is clicked?

mighty hill
stable ice
#

Ah got it, so that would be based on the stripe seller id

mighty hill
#

@stable ice Yeah, in those examples the {{CONNECTED_STRIPE_ACCOUNT_ID}} would be replaced with the account ID that gets the Payout.

stable ice
#

Thank you

#

I was also planning out how to handle returns through Stripe, and I'll be providing the seller with a return shipping label that the buyer can just return the item with. If the item is shipped from the buyer to the seller, how can I make sure that the seller pays the buyer the payout that he or she received? I don't believe there's any way to go about it other than delaying the seller's payout until the return policy cycle is over. Can you please help me out with that? Another question I have is does stripe return the fee that they collect back to the buyer if a return is made?

mighty hill
#

@stable ice In that flow you would need to hold the funds on either your platform account or connected account before paying them out. If you needed to issue a refund you would do so with those funds. If you didn't you would transfer + payout on the connected account so the seller gets the funds.

tawdry spire
#

@stable ice ^I agree with Rubeus the fees won't be returned unfortunately

stable ice
#

Got it, in that case I'll delay the funds from being transferred until the return period has passed

mighty hill
#

@tawdry spire Hey, just out of curiosity, why did you react with thumbs down on those messages above?

tawdry spire
#

Oh my bad, I'm actually his partner and we are both developing the platform haha. Was just messing with him!

stable ice
#

^ yeah he was just messing with me

mighty hill
#

Ah, okay. 🙂

#

Wanted to make sure everyone was being nice to each other! 😄

tacit cloak
#

Hello everyone :)! i have a question for people who already have used stripe, some folks want to connect booking.com reservations and payments but pass the payment through stripe the workflow will be something like this :

1.- user make a reservation hotel on my website and proceeded to pay 
2.- My website open a stripe modal or page where the user add the credit card data
3.- the stripe modal pass the credit card data to booking.com api 
4.- booking.com returns the result to stripe
5.- stripe returns the result to my website
#

is that possible through stripe? their are telling me that is viable but i dont find any documentation related to connect 3rd party apis to payment systems on stripe :/ !

#

any suggestions documentation related will be really helpful, thanks everyone!

vocal wagon
#

||rubeus I just wanna say sorry you have to deal with people like this||

mighty hill
#

@keen wren I deleted your message because it was inappropriate, but here's a cleaned up version:

NICE MEETING U GUYS.I WANT TO KNOW A NUMBER OR A SITE I CAN ACTUALLY TALK TO SOMEONE WHO CAN TELL ME Y *** I WORKED N CANT SPEND MY MONEY CAUSE THEY WONT KET ME CHANGE MY PAYMENT TO ME TO ANOTHER DEBIT CARD

And the answer to your question is that we can't help you with that issue here, but support should be able to assist: https://support.stripe.com/contact/email

vocal wagon
#

stripe itself is a payment processor, not a bridge between your site and a 3rd party payment processor

meager oasis
vocal wagon
#

contact support

mighty hill
#

@keen wren Once again deleted your message as it violates the rules. Here's a version that doesn't:

I WANT YALL TO TAKE ME OFF THIS STRIPE **** N LET QWICK PAY ME THUR THEIR PAYMENT.I WANT TO CLOSE MY ACCOUNT WITH YALL.ALL YALL GOT TO DO IS TELL QWICK IM NOT INTERESTED N USING YALL SYSTEM NOMORE XAUSE OF THESE REASONS

And, once again, we cannot help you with your Stripe account here. This is not Stripe support. Please contact Stripe support here: https://support.stripe.com/contact/email

If you ignore the rules again we may be forced to remove you from this server.

opal leaf
#

hi, is there any subscription support for the magento 1 module? i see some code regarding "recurring profiles" in magento 1 module, but stripe payment method is not available in checkout

barren rivet
#

Hey guys,

we have integrated the webhook locally and it works fine, but now we deployed our backend and we dont recieve a singel message...any idea what could be wrong here?!

#

When we send a test message we get it on the backend, but we recieve nothing when we are doing test purchases...

vocal wagon
#

Hello

cinder arch
#

Hey I am having a problem with apple pay - stripe. When I click to checkout and proceed to pay it just gets stuck on processing. Google pay is working though.

Any idea what I should check here?

vocal wagon
#

I have a problem with my stripe account I've been waiting for more than 3/4 months because my account is blocked and I see it even more in my balance and it's not repaying please help me

clever sleet
#

Hello, about a week ago I reported a bug with the refunds api not returning the refunds… can someone help me with a status on that issue? Is it being worked on, fixed, backlog, deployed, testing? Anything? Thanks for your help

slate turtle
#

@fast mantle and @bold basalt thanks for your help... it seems to be working now. Brill!!

empty summit
#

Hello... i need to inquire about payments processed on my website from customers.. the transactions show successful but they haven't been deposited in my bank account

#

These are my first transactions

vocal wagon
#

@empty summit A payment made by a customer gets accumulated in Payouts which is paid on the schedule you select in your options. However, I believe that the first Payout to your bank requires a little longer to complete than all subsequent ones

vocal wagon
#

Has anybody any experience with SEPA payments here. Im just looking to see how they handle updating and/or failed SEPA payments.

#

I use stripe checkout to update the SEPA payment details in the above case and can recreate the subscription and get them to use that but not entirely sure how to handle the failed subscription payment. Do I have to manually invoice them a singular payment?

#

Alternatively if I just update the customers default payment method once they've updated, will the subscription charge get paid some days later?

vale sparrow
#

As a dev I don't want my phone number listed on receipts.

#

Is there a way to keep my phone number supplied and not showing up on receipts? We can see why people would legitimately want that right?

#

Harassment guaranteed.

mighty hill
#

Hey everyone, just a heads up we're not usually here on the weekend, but support is! You can contact them here (even if you can't log in): https://support.stripe.com/contact/email

vale sparrow
#

I backed out of peachpay and stripe because of the enforced phone number. That's actually dangerous. Otherwise cheers everyone!

meager oasis
#

PayPal gives it out too

#

The pro gamer move is to get a cheap voip number for $3 a month for tech support

delicate mesa
#

anyone here? 👀

vocal wagon
#

Hi

#

Someone? 🙂

torn drift
#

I need Someone Help me .. If somebody Here

vocal wagon
#

I can t call Stripe ? I néed help

rigid ridge
#

Hi, is there a generic way of confirming a payment intent using Stripe JS without having to call a specific method depending on the payment method?

manic harbor
#

Hello someone know how to unlock instant payout by transfer in my stripe ?

torn drift
#

they don't answer anywhere WHAT THE SUPPORT !!!!????

manic harbor
manic harbor
torn drift
manic harbor
#

They will respond dont worry just wait

#

I agree with you stripe support is vera bad

#

Very*

#

But they respond

torn drift
brave zealot
#

hey, small question. If i use prebuilt checkout and my site is built with react, how can I render a component after the redirect (POST) from the stripe checkout page? Thanks in advance

cloud pasture
#

Where can i see how refunds are done ?

#

Also can i relay on webhooks ?

#

what i mean is - if 1 webhook for some reason failed, will you guys send another ?

meager oasis
#

@manic harbor

I have bug with my stripe account i have disabled the 3d secure for more fully conversion but i have teste my website and the 3d secure are not disabled

manic harbor
#

Yes thanks you

meager oasis
#

You cannot disable 3DSecure, as this is a feature triggered by banks, at their discretion.

#

There's no way to disable 3DSecure, because that's not a feature set by stripe, but by the Cardholder's Issuing Bank

manic harbor
#

Yes but that the website who decide to activate or not ?

surreal garden
#

Hi, I am developing iOS with BBPOS bluetooth device. I got the code to work with simulator with no issues I can connect but when I test on real device I keep getting an error when trying to connect. I am using the SDK 2.0.0 latest. Not sure what is going on . When I test on Android it is able to connect and process payments just not able to connect to iOS (on iPad 14.6 and iPhone 12.4.1) "Could not connect to the Bluetooth device. Make sure the device is powered on, in range, and not connected to another app or device. If this error continues to occur, you may need to charge the device."

meager oasis
meager oasis
#

Do you have the proper Entitlements in your bundle for Bluetooth LE devices?

surreal garden
# meager oasis Is the device connected in bluetooth settings?

Hey thanks for the response. Yes, I am connected in my bluetooth and info.plist has correct settings. I am able to discover the reader from iOS. Just when running connect function it returns that error. The device is charged and powered on. When I connect to it in on first time app install on iOS 14.6 I get asked to allow location usage (Stripe handles that) this tell me that the setup is correct I believe

meager oasis
#

Are you willing to share the app bundle so i can take a look on my end?

#

i've got a BBPOS WisePad 3, and a full iOS test suite

#

I have a feeling that it's probably just a bad setting somewhere

surreal garden
#

I am not quite sure on how to send it to you? I am developing a cordova wrapper for the stripe terminal to use in cordova App.

meager oasis
#

hm

surreal garden
#

yeah I know it is makes things a little more complicated.

#

But I will review my settings again and see what is going and will follow up to see if I can send you something to look into. I appreciate it!

wanton pendant
#

Hi there, I'm trying to verify my business for stripe, and I've uploaded my certificate of incorporation, but it says my business is still not verified. I'm in New Zealand, what other documentation do i need?

light hawk
#

Anyone know how the dashboard gets a preview of the upcoming invoice for a scheduled update?

torn drift
surreal garden
meager oasis
#

Ah yeah that'd do it

meager oasis
# light hawk

Well, if it's a scheduled update, then the next invoice will be the new total.

torn drift
meager oasis
#

I cannot, because this discord server is specifically for development related issues

#

Account related issues have to be directed to support, as there's no way to 100% certify you are the holder of an account

light hawk
#

@meager oasis but the schedule hasn't been created at that point, right?

#

so how is the dashboard previewing the invoice for a schedule that hasn't yet been created

meager oasis
light hawk
#

@meager oasis is that estimation functionality exposed through the api?

#

the public api?

#

I'm trying to build the same feature for our product

meager oasis
light hawk
#

i.e. tell the customer, this update to your subscription will cost you X on Y date

#

but I need Stripe to calculate the discounts, etc.

#

@meager oasis inspect element seems to indicate it's using the upcoming invoices endpoint somehow

meager oasis
#

Oh HM

light hawk
#

for some reason my browser isn't letting me see the request 🤔

meager oasis
#

(should clarify, don't work here.)

light hawk
#

haha

#

well I appreciate the advice anyways 🙂

#

@meager oasis good call on using inspect element though! looks like it's just the upcoming invoices API with a subscription_proration_date set to the future

#

I tried that param before and it didn't seem to work, but I'll try it again since it seems to work for Stripe's dashboard

frigid fossil
#

Hey @fluid beacon, can I dm you about a use-case question?

fluid beacon
# frigid fossil Hey <@!237718045278076928>, can I dm you about a use-case question?

Hi, sorry Stripe folks here are not typically available to chat directly on weekends. Our support team is around if you need help: https://support.stripe.com

tribal kite
#

Hi there I’m trying to get into my account but it won’t let me in

cerulean pineBOT
#

:question: Have a question about your account @tribal kite?
While we're sorry to disappoint, this Discord is intended for technical questions and developer chat—we're not able to help with account specific questions. For help with your account please reach out to Stripe support directly at https://support.stripe.com/contact

crystal sinew
#

Hi there, I am seeing Stripe took over Cryozonic's module for Magento 1.9 (OpenMage 1.9.4.13)
They use to have a patch to integrate Stripe and Olegnax One Step Checkout for M1. This is discussed
on this link on page 26: https://stripe.dev/cryozonic-docs/cryozonic-m1-stripe.pdf
And the patch is on Github on this link: https://gist.github.com/snez/ad9b91c0049f96f78fb6d409c396ba2c

I tried to apply to, but it did not work since it was intented to work with Cryozonic's module, not the official one.
Any way to addapt this patch to the official module?

Gist

Stripe.js patch for Olegnax OneStepCheckout. GitHub Gist: instantly share code, notes, and snippets.

mellow spear
#

@crystal sinew I don't really know much about Magento, so I'd suggest writing into Support I think: https://support.stripe.com/contact/email

tribal kite
#

The support page is useless

mellow spear
#

@tribal kite They're the only ones that can help you to access your account; there's nothing we can do from here.

drowsy glen
#

Hello - By any chance does anyone have a flow diagram for subscriptions on Stripe?

I'm doing some scope and documentation for our integration we're about to start doing. The API docs are fine for guessing what needs to happen in what order, but if there's a flow diagram floating around with anyone, can I beg a copy :)

(Create, Read, Update and Delete)

bleak breach
drowsy glen
#

Cool thank you very kindly, there's a bunch there. I had hoped for something more low lever, but I can figure it from there :) taa

compact pebble
#

Hello,
I am having troubles when getting payments on clickfunnels

#

my account is connected to my stripe account

bleak breach
#

@compact pebble That's something you'll have to reach out to clickfunnels for

swift hound
#

How do I change my card number?

mellow spear
#

@swift hound What do you mean? Where do you have your card?

swift hound
#

On the Stripe website. I lost my card and have a new one

meager oasis
#

If you're talking about your bank card, then you should be fine

swift hound
#

The problem is that it is not letting me enter my new one. It asks me for my previous one but I (obviously) do not have that anymore

meager oasis
#

Is this for instant payouts?

swift hound
#

yes

meager oasis
#

They'll be more help than us here

swift hound
#

I tried that. They sent me here

meager oasis
#

They're the only one's who can actually access any account details

#

nobody here can access anybody's account info

gritty spindle
#

Hi is the card number 4000000000000341 still an invalid card? I make a payment but it goes through. I expect it is the failure.

meager oasis
gritty spindle
#

I don't understand it much. It used to work as failure.

meager oasis
#

It should act as payment failure

#

but you should still be able to attach it to a customer

#

try 4000000000000119

gritty spindle
meager oasis
#

for the card ending in 0341?

gritty spindle
#

Yes please

meager oasis
mellow spear
meager oasis
#

It should definitely work 100% of the time.

gritty spindle
mellow spear
#

@gritty spindle What's the Stripe Invoice ID for that one?

gritty spindle
mellow spear
#

@gritty spindle That Invoice is for less than the minimum charge amount so it was 'paid' by adding to the Customer Balance.

gritty spindle
#

Gotcha

#

But it used to work with under minimum amount. Let me try with above minimum.

mellow spear
#

The only way it would block under minimum amount is if you'd done it enough times to accrue a balance that was more than the minimum amount, and then since the total to charge is greater than the minimum amount it would try to charge that and fail.

vocal wagon
bleak breach
#

@vocal wagon Let me test something real quick

opal leaf
#

hi, is there any subscription support for the magento 1 module? i see some code regarding "recurring profiles" in magento 1 official module, but stripe payment method is not available in checkout when having products with subscription (recurring profiles) in cart. Cryozonic modules supported this as it says on some old docs, but no longer maintained.

mellow spear
opal leaf
#

@mellow spear thank you. do you know average response times?

#

also, what kind of support is provided here, because i see a lot of chat traffic for all kinds of subjects, that i guess devs should not be the ones to solve..

bleak breach
opal leaf
#

well it says what "isn't" the purpose.. it doesnt say what it "is"

#

🙂

#

nvm this Discord is intended for technical questions and developer chat

#

sorry

bleak breach
#

🙂

opal leaf
#

ok so, in case of the support giving me no ways to implement subscriptions via magento 1 module, can i get help here with the api/generic guidelines/best practices, in case i want to code it myself?

vocal wagon
#

Of course you can

opal leaf
#

is magento 1 module outsourced or are there in-house devs with magento 1 knowledge?

bleak breach
#

@vocal wagon Sorry that took a while to set up

vocal wagon
#

I'll check it out 🙂

hidden ridge
#

Hi guys. How can I add a 19 digit cup card with Stripe? A “add new card” window allows to enter only a 16 digit one
I tried Basic integration example from https://github.com/stripe/stripe-ios

exotic rain
#

Hello Developers
I need a help
I have a requirement where if a user switches to another subscription then I want to charge immediately for the subscription and the subscription will be active after the current subscription period ends.
So i have written some of the code below to update the subscription below, please correct me as per my requirement

bleak breach
bleak breach
# exotic rain Hello Developers I need a help I have a requirement where if a user switches to ...

When you up or downgrade a subscription the switch in Price happens immediately, you can't schedule it for a future timestamp. This means that if you don't allow for any prorations the user will be charged the full amount for the billing cycle at the new price point. If you want to charge for the new price now but only start the next billing cycle when the original cycle was meant to end, you can update the subscription to the new price, specify no prorations and set a trial period for the time between when the next billing cycle was supposed to start and now

safe fern
#

hello

bleak breach
#

Hi @safe fern !

safe fern
#

my name is mays and i have online website

#

im looking for the best payment for my clients in my website

#

so if i want to enjoy that company what i have to do

#

?

bleak breach
#

@safe fern You're in the wrong place I'm afraid. This Discord is for code and developer questions. I suggest you contact Stripe sales instead: https://stripe.com/contact/sales

safe fern
#

oh ok sorry

#

im really sorry

bleak breach
#

No problem!

safe fern
#

thank you for your help guys

exotic rain
bleak breach
barren rivet
#

Hey, any idea why an implementation works for ios but not for android. So the same code on the FE + backend is run, but on ios we can confirm a paymentintent and on android it never sends out the confirmation. we see nothing in the logs of stripe.
We are using flutter in the FE with flutter_stripe package

upper bolt
#

Hello everyone, how are you?

I would like to retrieve the user's email after the Stripe payment to recognise them in my database and record information such as their login, the subscription they have taken, etc. The problem is that I don't want to retrieve the email from Stripe but the email recorded when the user logs in to my site. At first I thought of using $_SESSION but since I'm redirecting to the Stripe payment link I can't use a session can I? Anyone know how I can do this?

mellow spear
dapper prawn
#

Hi!

I'm looking into a way to bypass Smart Retries for a particular use case ie. for most subscriptions I'd like the retries to be triggered, but for a particular subscription I would like it to fail instantly when the payment fails. Can't seem to find anything useful regarding that in the API docs. Could someone maybe point me in the right direction?

mellow spear
upper bolt
#

In fact the users connect to my site, I get their email, pseudonym, etc. Then they are redirected to the Stripe link to proceed to payment. And finally the Stripe webhook sends me the payment information and I would like to enter it in the database for the right user

#

Oh right, thanks @mellow spear

mellow spear
dapper prawn
#

Thank you! I'll try that and see if that works for my particular case 🙇‍♂️

bleak quartz
#

Hi there, I am trying to add an invoice item in Laravel cashier subscription. Stripe doesn't show how to add the parameters for cashier. So i'm trying something like this, which does not add the specified amount in the stripe payments, the specified subscription amount is drawn. How can I get this working?

mellow spear
#

@bleak quartz You probably have to look at the Cashier source code and see how it's working with Stripe's API; it's possible that it doesn't support that feature.

compact path
#

Hi guys, is anyone online?

mellow spear
#

Nobody here but us chickens.

compact path
#

I am making a marketplace and my sellers will be all over the world ( also Asia...China, vietnam, japan). I know I can't use stripe connect custom because is not available in China for example. but Can I use stripe connect standard?

mellow spear
#

@compact path As I understand it, the country restrictions apply no matter the Connected Account type.

compact path
#

so I can't use stripe

#

it's funny because as a customer they accept Alipay

mellow spear
#

Every processor has country restrictions; each might be different but every one has restrictions.

exotic rain
crimson needle
#

@exotic rain what's blocking you?

exotic rain
#

As i also switched to different billing period but invoice is not created immediately
Below is my code

vocal wagon
#

Hi

exotic rain
#

Am i doing anything wrong, please correct me?

crimson needle
#

@exotic rain why do you expect an invoice? You are disabling proration and just switching the price

#

@vocal wagon hello

exotic rain
vocal wagon
#

Im working on creating connect account with c#

#

var options = new AccountCreateOptions
{
Type = "standard",

    };
#

The new account is restricted

#

he account owner needs to provide more information to Stripe to enable payments and payouts on this account.
INFORMATION NEEDED - DUE NOW
Bank account or debit card
Product description
Business support phone
Business website
Terms of service acceptance
Additional missing data

crimson needle
#

@exotic rain you want to set billing_cycle_anchor: 'now' then so that the period resets to "now"

vocal wagon
#

@vocal wagon if you do this it'll format your code nicely:

\`\`\`c#
code here
\`\`\`
#

without the \

#

How can I update it programmatically?

#

Gotcha

crimson needle
#

@vocal wagon with Standard accounts, you need to send them to onboarding to provide all the information using Connect Onboarding and AccountLinks

vocal wagon
#

And whats the other options?

#

I want to create account fully without onboarding process

crimson needle
#

There isn't, it you use a Standard account, your customer has control over it and they need to "sign up" with Stripe, enter an email, choose a password, provide all their information.
If you don't want this then you don't want Standard: https://stripe.com/docs/connect/accounts
Honestly, even the larger platforms use hosted onboarding. It is so much work to properly collect all the information as needed and handle it securely.I strongly recommend using it

vocal wagon
#

I see what you mean

#

What is the link for Connect Onboarding

exotic rain
vocal wagon
#

And what is the flow?

crimson needle
vocal wagon
#

Cheers mate

crimson needle
#

@vocal wagon let me know if you have questions after reading

#

@exotic rain no it resets immediately and starts charging for the new price, which is what you seemed to want. There are many ways to upgrade a subscription and many flows overall for businesses. It's important to understand exactly what you are trying to do

exotic rain
crimson needle
#

@exotic rain that isn't possible and something we discourage overall. The easiest is to prorate instead. If the price was $10 and the new one is say $80 a month, when you upgrade mid month you owe them $5 of credit (half month on previous price) and they owe you $40 (half month on new price). When you upgrade you can charge them $35 ($40 - $5) immediately for the remaining time and at the end of the current month you charge them $80 for the new price automatically.
This seems to be exactly what you need and that works with always_invoice + proration enabled

hollow nebula
#

Hi, I am trying out coupons in Stripe. I have a scenario, where I allow the user to add the coupon code on one of my screens for a subscription. Now when I create the checkout session, I want the checkout session to have that coupon code prefilled.

The reason is, I have the quantity, tax and every other detail which contributes to the total amount the user pays on one of my screens. I would like to have coupons on this very screen.

#

How can I achieve this?

crimson needle
hollow nebula
#

@crimson needle Thank you very much for your quick answer. I will try this 🎉

crimson needle
#

let me know if you're stuck

hollow nebula
#

It worked like a charm. Thank you so much. I asked the same thing from Stripe support but, the support engineer told me it was not possible. I am lucky to ask that question here

crimson needle
#

@hollow nebula my team is here to help all day (except week ends for now) so don't hesitate to come and ask more questions, we're happy to help!

hollow nebula
#

Let me ask another question just to make sure that I got the correct answer. Stripe has a configuration for generating an event for upcoming subscription renewals. This is under "Prevent failed payments" in https://dashboard.stripe.com/settings/billing/automatic. Is there a way, I can generate this event "7" days prior to a monthly subscription, and "30" days prior to an annual subscription?

crimson needle
#

No, it's not something we support today unfortunately. We've talked about this for a while and I hope we add this in the future but it's not being scoped/considered for now at least

hollow nebula
#

I want to differntiate the event generation time, based on the type of the subscription

#

Cool, thank you for the answer

stoic gyro
#

Hello guys,
please help me with the testing apple pay with stripe.
I want to test the 3d-secure, invalid cards, ...,etc.
As you know, apple pays does not accept testing cards, how can I test it?

rocky turret
#

Hi All
Can we integrate Stripe Connect on Squarespace website ?

storm owl
#

I change my phone number and I can't log in to Stripe anymore ?

fierce sigil
#

I seem to have a bug where I have connected account test data, but when trying to clear test data receive the message "It looks like you don't have any test data, so there is nothing to delete." ? known bug? any ideas how to resolve?

crimson needle
#

@stoic gyro you can add a real card in Apple Pay, as long as you test in Test mode, it won't charge. We don't do 3DS for Apple Pay

#

@rocky turret Usually when you use Squarespace, you don't write code yourself, you don't have a server, so in that case it's not really possible

cerulean pineBOT
#

:question: Have a question about your account @storm owl?
While we're sorry to disappoint, this Discord is intended for technical questions and developer chat—we're not able to help with account specific questions. For help with your account please reach out to Stripe support directly at https://support.stripe.com/contact

crimson needle
#

@fierce sigil hmmm I'd recommend contacting our support team https://support.stripe.com/contact/email for this and they can look at the data in your account. Until then you can just ignore those extra accounts

stoic gyro
#

@crimson needle Thank you for your response
what about the insufficient funds, declined cards, zip code errors, etc?

crimson needle
#

@stoic gyro you don't really need to test Apple Pay for this, it works the same for a "normal card payment" so you can use https://stripe.com/docs/testing#cards for this without Apple Pay

stoic gyro
#

Ok Thank you very much

crimson needle
#

@rocky turret if you want to integrate a marketplace you'll need your own server and you can't use Squarespace for the code / accepting payments

coral torrent
#

Hey, I'm a bit lost right now:

  1. My client has a stripe account (I have developer access)
  2. We have a stripe connected account

Goal now: connect the client's account to our stripe connected account by myself.
Goal later: Let clients do it themselves by entering their stripe api? or through onboarding pages from stripe?

I'm following https://stripe.com/docs/connect/standard-accounts. Do I start with step 2 (create an account link) and set up some dev pages for myself for now?

crimson needle
#

@coral torrent you start at Step 1 and create the account and then redirect yes

#

But this won't really work the way you want to honestly and you're mixing up the words a bit

digital egret
#

Hi I want to ask about account isn't eligible, it state that my business isn't eligible to use Stripe becuz didn't meet terms of service.

#

I tried to send email to customer support

#

then provide the information they need, but they just say cnt help and didn't provide further details

coral torrent
cerulean pineBOT
#

:question: Have a question about your account @digital egret?
While we're sorry to disappoint, this Discord is intended for technical questions and developer chat—we're not able to help with account specific questions. For help with your account please reach out to Stripe support directly at https://support.stripe.com/contact

crimson needle
digital egret
#

is there any possibility can i get a live chat help, as i sent an email one week before, but not yet received any replies until now

crimson needle
#

@digital egret we can't help here, this channel is for developers with questions about their code. Unfortunately we can not help with account specific questions. You want to talk to our support team instead: https://support.stripe.com/contact

digital egret
#

Ok thanks anyway

coral torrent
crimson needle
#

yes

coral torrent
#

I feel like I'm missing something still: is it a possibility to also just let the user create a new connected account - even if they already have an account? My exception (where the user already has an account) seems to not be described in the docs https://stripe.com/docs/connect/enable-payment-acceptance-guide, which makes me feel like I'm worring about something that is not relevant?

crimson needle
#

well the best option is to always have a new account yes

coral torrent
#

Oh why?

crimson needle
#

That's just what we recommend. You want a Stripe account for the client that will work specifically for your platform without mixing all transactions

coral torrent
#

Ahh, okay. I was assuming that you would recommend to not let clients make multiple stripe accounts through our platform. In that case I'll follow the new docs 🙂

vocal wagon
#

I'm using Stripe Checkout Session and I have customer with all fields filled, when I include customer id while creating session and when I visit Checkout URL, fields are not filled out, why is that?

crimson needle
#

@vocal wagon we don't pre-fill the billing details in that case, the existing customer is used to associate the payment with it and/or save the card.

vocal wagon
#

I'm reading docs about Customer and there is
payment_method
The ID of the PaymentMethod to attach to the customer.

Do I need to create payment method with card details and attach it to the customer? Because I didn't do that and credit card details are not prefilled

crimson needle
#

@vocal wagon no, Checkout does that for you. That's one of the core features of Checkout to collect card details for you safely

vocal wagon
#

I guess card is not saved because I'm in test mode?

crimson needle
#

no Test mode saves cards to

coral torrent
#

I'm getting a CORS error when trying to redirect to the accountlink URL. Is this because I can't work from localhost?

crimson needle
#

it's just a redirect that you need to do full page

coral torrent
#

Sorry I don't understand what you mean with 'full page'

crimson needle
#

I don't really understand how you could get that error. What code are you using the redirect?

coral torrent
#

I'm using a lowcode tool (Wappler) so I'm not 100% sure right now. They pre-code things and give us .json files to input settings basically.
However thanks anyway, you gave me the idea to first send a 200 response to the page and then initiate the redirect

#

Will try that 🙂

crimson needle
#

yeah you want to do a redirect like with a 301 server-side or using window.locationor similar client-side

coral torrent
#

Thanks it worked to redirect from the client side!

crimson needle
#

woot!

coral torrent
#

Hmm so with this flow it will ask for all the business info again for the connected account. So that's only bypassable with the older oAuth method? And anyway Stripe recommends to let the user create a new connected account?

crimson needle
#

Yes, you want to collect this information and have a dedicated account just for your platform integration/payments

vocal wagon
#

I had to set "payment_intent_data.setup_future_usage": "off_session" while creating a session and now it works

One more thing and then I'm good, I enabled taxes in dashbaord and added tax for my country and enabled in in a code "automatic_tax.enabled": true
But taxes are not being calculated

crimson needle
#

@vocal wagon I'm going to need a bit more than "not calculated"

#

What do you see? Which information are you providing? Do you have an example Checkout Session where you completed a payment?

vocal wagon
#

Here is my checkout page, Tax is 0$.

crimson needle
#

Can you share a specific Session id or PaymentIntent id for me to look?

potent elbow
#

Hi

vocal wagon
potent elbow
#

Could you please help me?

#

I am stuck on one problem

#

I have integrated stripe connect custom accounts.

#

We want to add external account for Switzerland.

#

But when we pass the bank account detail and routing number it gives us error that "invalid bic"

crimson needle
potent elbow
#

Thanks for response.

#

Yes. How can I pass iban number in external account?

#

If you can help me , It would be very helpful for me.

crimson needle
#

@vocal wagon I'm looking into it with a colleague

#

@potent elbow you pass the IBAN in account_number

potent elbow
#

Oh let me check .thanks

crimson needle
#

@vocal wagon can you try a different customer with a different country?

vocal wagon
#

I can

#

the same

#

pi_1J7JhPE46IqDzspgaKrJZYRN

crimson needle
#

@vocal wagon can you try EUR now, I think it's the issue based on the logs we found

vocal wagon
#

To change currency in EURO?

coral torrent
#

Can I move a stripe connecteda ccount from dev to production? I'll ask my client to create an account but first want to keep on testing. Don't want to ask him twice to create a stripe account through our platform

crimson needle
#

@vocal wagon yes

#

@coral torrent no, you should create an account in production and then it works in Test mode

coral torrent
#

Thanks!

vocal wagon
#

Problem remains, for Croatia and USA

#

I used new customer

lyric iris
#

Hi. We're setting up express accounts and during testing we've hit some errors in Mexico, Brazil and Malaysia. Can someone advise what we do from here please?

wanton ivy
#

Hi guys, I used global paymetns in the past and linked them with security metrics. I've tried to cancel security metrics but they say i still need them even when using Stripe -is this true?

crimson needle
#

@vocal wagon can you share the id for the Session each time?

potent elbow
#

@crimson needle this is not working mate.

crimson needle
#

@lyric iris for some countries you are not allowed to take an application fee.

vocal wagon
#

Latest session with euro pi_1J7JoHE46IqDzspgaYd67CE5

crimson needle
lyric iris
potent elbow
lyric iris
#

Do we just need to exclude these countries from the Express integration then and have them use Connect as previously?

#

And, when you say they can't take an application fee, is that the same on Connect too, or just Express?

crimson needle
#

@lyric iris it's just a forbidden funds flow so you can't take an application fee at all. You'd have to charge separately by collecting their card details for example

#

@potent elbow I can't do anything with a picture of your screen unfortunately. Please share an exact request id (req_123) and the exact error message that you see

lyric iris
#

So rather than take our commission at source, charge them on a monthly basis with a bill...?

crimson needle
#

@lyric iris "Express" Is the same as Connect, they are related. And yes that's how it'd work. Otherwise you would just block those countries

lyric iris
#

The kicker here is we are still responsible for all of their Stripe fees, so if they don't pay the bill, we need to - is that correct?

#

So we're still better leaving them as a connect account, to mitigate this risk, and then just charging them our fees at the end of the month?

crimson needle
#

yes but there's no guarantee you can get the money at the end of the month

lyric iris
#

OK got it thanks.

#

Are there any other countries that don't allow app fees?

crimson needle
#

Singapore and Brazil too I think. We don't have a firm list unfortunately publicly 😦

lyric iris
#

OK thanks

vocal wagon
#

@crimson needle Latest session with euro pi_1J7JoHE46IqDzspgaYd67CE5

crimson needle
#

@vocal wagon thanks! I'm looking into this with a colleague and we'll circle back in a bit

potent elbow
crimson needle
#

@potent elbow awesome

vocal wagon
#

Hello. I have Wordpress website with woocommerce. Were must i activate 3d secure ? Thank you for your help.

vocal wagon
sick talon
mossy tundra
#

We have issue in displaying apple pay button. does anyone can guide us?

mossy tundra
#

Apple pay button is not displayed on checkout screen

#

We have wordpress website and memberhip plugin name memberpress which accept payment via stripe

#

google pay button working fine

#

Does anyone have any idea?

#

Thanks in advance

mossy tundra
#

Yes, have added our domain and upload file on given location on website

#

@sick talon

sick talon
mossy tundra
#

Does not have access to stripe account as it belongs to our client?

#

@sick talon

sick talon
granite basin
#

Hello

mossy tundra
granite basin
#

I have a question ..for testing I created plan for daily subscription ..in stripe dashboard many invoice is scheduled and it is in draft mode ...but everywhere I am getting the same message "This draft invoice was generated by a subscription. It can be edited until your integration responds or in 3 days." when it will get charge to customer

mossy tundra
#

@sick talon any thoughts?

sick talon
lyric iris
#

Quick Q. When we transition customers from Connect to Express, I understand they will need to create a new Express account via our platform ( I saw the Turbo demo ). But are they expected to manually disconnect their existing connect account separately, or can we automate this so when they setup their Express account their old Connect account disconnects automatically?

sick talon
sick talon
lyric iris
sick talon
lyric iris
#

OK got it thanks

mossy tundra
#

@sick talon

sick talon
mossy tundra
#

I have asked client to check

#

They sent me that screenshot

#

They are just online now

sick talon
#

ah ok, well if they can copy-paste the account id (in text, not a screenshot) I can do a much faster look at what's going on

mossy tundra
#

Okay I have ask to send account id to my client

#

@sick talon I have account id from client
do I have to DM you?

sick talon
#

nope, you can post it here

mossy tundra
#

1CfLJyD4mgh57IAm

sick talon
#

@mossy tundra You're redirecting to Stripe Checkout, not hosting the Apple Pay button on your own domain, so the issue is likely with the browser or there's not an Apple Pay card saved

mossy tundra
#

Okay let me check

sick talon
# mossy tundra Okay let me check

If you look in the browser console in Safari you may also see any related errors (the common one is that you don't have an Apple Pay card saved or the domain is not registered, but that would mean there's not a card saved since you're redirecting)

mossy tundra
#

Client have 2 apple card saved

#

I mean he has 2 card saved in apple pay wallet

sick talon
vocal wagon
#

@crimson needle any news?

sick talon
mossy tundra
#

@sick talon Its working now thanks for the help

fierce sigil
#

Hi I am finding the wording in the last section of the docs at https://stripe.com/docs/connect/express-accounts a little confusing, does details_submitted signify onboarding was completed or charges_enabled at which stage should we generate login links and not account links?

sick talon
sick talon
# vocal wagon <@!845112453587271710> any news?

Looks like a bug in tax calculation at the moment that we're working on a fix for. The origin address in Luxembourg, account not registered in Luxembourg (registered only in Croatia), and we treated the tax location as Luxembourg. No registration there => tax is zero. (again, that's a bug, not expected behavior)

vocal wagon
#

Got it. What do you mean by: account is registered only in Croatia

pearl solar
#

Hello! I'm thinking on incorporating Stripe with Coinbase exchange through the use of digitally-issued cards (used for withdrawals of funds). However, I saw the requirements of Coinbase that the cards must support either Visa Fast Funds or Mastercard Send. Does the digitally-issued cards support those features?

Thanks!

granite basin
cerulean pineBOT
#

:question: Have a question about your account @pearl solar?
While we're sorry to disappoint, this Discord is intended for technical questions and developer chat—we're not able to help with account specific questions. For help with your account please reach out to Stripe support directly at https://support.stripe.com/contact

sick talon
#

@pearl solar The support team will be able to answer that as it's not API related

sick talon
sick talon
low solar
#

HI, i set up a upgrade.chat in my discord server! and i have 6 paid members through stripe! i added stripe to my paying method so people could pay with credit card instead of paypal! i got the first proccessing email about the payment and how it was succesfull but it says its going to take a week for it to go into bank! Im curious if all customer payments take 7 days or whats goin on there????

cerulean pineBOT
#

:question: Have a question about your account @low solar?
While we're sorry to disappoint, this Discord is intended for technical questions and developer chat—we're not able to help with account specific questions. For help with your account please reach out to Stripe support directly at https://support.stripe.com/contact

meager hawk
low solar
#

okay but also when i go onto STRIPE itself it shows no customers, but when i log into my upgrade.chat, it shows i have 6 members subscirbed? just curious if thats an issue??

meager hawk
#

I'm not sure, I don't know what upgrade.chat is or how it interacts with your Stripe account. But could be completely normal, but you'd need to ask the support for that plugin.

low solar
#

and how do i do that?

#

i thought this was support lol

meager hawk
#

I'd assume you'd want the Support link on https://upgrade.chat/ (seems like it's a different Discord server) This channel is for technical help with Stripe's API directly, we don't know anything about that plugin you're using or how it works or interacts with your Stripe account.

low solar
#

alright sorry thank you

tropic timber
#

Hi friends! I'm trying to set up a subscription with 3 different schedules, here's a crude example:

  • Monthly for $99
  • Every 3 months for $250
  • Lifetime for $2000

What is the best way of doing this? I was considering doing it this way:

  1. I create a subscription using: stripe.Subscription.create()
  2. Depending on what a customer chooses, I create a subscription schedule using: stripe.SubscriptionSchedule.create()

But this feels wrong, because according to the docs I can only specify a customer ID, not a specific subscription ID. How would I implement this?

meager hawk
#

I don't think Schedules would really come into this. Can you describe the customer flow a little more to help me understand? I visit your site today and want to sign up as a new customer. What should I pay now, and then what do I pay and when, in future?

tropic timber
#

So as a visitor you're presented with 3 options where you get to pick 1: every month, every 3 months, or just once. The service is the same so in theory 1 customer would only have 1 subscription, but the cadence and amount is different based on the choice the customer makes.

#

So if you select monthly you pay the first month now, and then every month in the future for a set amount of months. If you select 3 months you pay the first 3 months now, and if you select lifetime you only pay now

meager hawk
#

@tropic timber ok, in that case, you just handle that as business logic on your site I would think. When they pick one of those options you call stripe.Subscription.create() passing the Price you created which has the appropriate amount and cadence (https://stripe.com/docs/billing/prices-guide)

tropic timber
#

Gotcha, and hypothetically speaking if the subscriptions should automatically stop after say 6 months, would that be something we have to manually keep track of on our end, or can we preprogram the end date?

#

Never mind, I now see a cancel_at field on the Subscription.create endpoint. 🙂

#

Thanks so much, will give this a try! 🙂

meager hawk
tropic timber
#

Thanks so much!
Another maybe odd question that just came in from my colleague; is it possible to give people a trial period at the end of their subscription? I think essentially what they're trying to do is give people a free month but at the end rather than at the start.

meager hawk
#

@tropic timber hmm. So to be clear, subscriptions are generally paid in advance. So .e.g, on Jun 28 I pay $100 and that is paying for access to the service until July 28

#

then I pay again on Jul 28 and if the service cancels on Aug 28, that's it, my last payment was Jul 28

#

(assuming a monthly billing schedule)

#

so to give someone their last month free, the easiest way is probably to add a 100% off coupon to the invoice for the last billing period

#

you can potentially use Schedules to automate that, or just add one manually at any point after the second-to-last invoice

tropic timber
#

Cool, cheers will forward this information 🙂

light hawk
#

is #stripe on libera.chat inactive now and should I ask questions here instead?

meager hawk
#

@light hawk I'd suggest asking here, what's up? But we try to answer both places

#

actually I see your message over there. I'm not sure I can really answer those questions, they're very in-depth

light hawk
#

would you like me to move it to here? 🙂

meager hawk
#

reading now(I'll reply here) so don't feel the need to have to repost them , reading..

light hawk
meager hawk
#

however, in the second request, the invoice bills immediately (and same for the line item period)
that's because you're changing from a yearly to a monthly billing cycle, and that always invoices immediately

#

that was your message a few hours ago at least

#

your other thing about the Dashboard.. reading

light hawk
#

@meager hawk thanks! I realized that a bit later 🙂

meager hawk
#

ok, I'm trying to parse it a little.

however, if the update does change the billing period (e.g. going from a yearly price to a monthly price), then the invoice preview that gets returned is for an immediate invoice
Seems normal and expected, given the above context, yep.

one example is: a yearly subscription with a six month coupon, when scheduling an update to change the price to monthly at the end of the current period, will give a preview with the discount applied while in reality the discount will end before the price changes to monthly
Are you sure? I'd be surprised if the upcoming invoice endpoint is wrong, it seems more likely that there's some misunderstanding of how coupons apply.

To be clear, a coupon with duration_in_months=6 means, any Invoice generated within 6 months of applying it will have the discount applied to that Invoice.

I should I test it I suppose, so let me do that.

#

ultimately if the upcoming invoice endpoint is wrong I'm not sure what you can do about it unfortunately though I can report the bug

light hawk
#

@meager hawk I'm not sure the upcoming invoice endpoint is wrong here

#

however, the dashboard makes the same wrong assumption that I did

mossy wren
#

Good morning Stripe. Question about the Product & Price in regard to Subscriptions. If we want to deactivate a Product (meaning, no one could subscribe to it any longer), would I need only need to toggle product.active to false, or would I need to do it for its respective price.active as well?

light hawk
#

that it can be reliably used to get the invoice for a scheduled update

#

in my screenshot above, the amount due on the next invoice should be the full price, not the discounted $1.50

#

since the next invoice won't be billed until after the six month coupon on that subscription ends

meager hawk
#

@light hawk well, it should, but as you say maybe there's a bug in the endpoint! Let me try to reproduce. The screenshot helps a little but I need to sit down and a look at real data so give me a little bit to run some code and test it out.

deft ruin
#

Hey - I've got a question around invoices. Is there a way to create an invoice that only captures a few specific invoice items? It seems like when you create an invoice via the Stripe dashboard you can create invoices that only capture the items you define on the form (ignoring any other pending invoice items) but when I use the API to create an invoice I'm forced to pull in any pending invoice items.

light hawk
#

@meager hawk also take a look at the billing dates and period start and end in the invoice the dashboard gets back from invoices/upcoming

#

when scheduling a change from yearly to monthly, the dates are for an immediate invoice; when scheduling a change that doesn't change the billing period the dates are correctly for the next cycle

mighty hill
#

@mossy wren Hello! I believe Prices belong to a deactivated Product cannot be used, but let me confirm...

mossy wren
#

@mighty hill TY!

mighty hill
deft ruin
#

@mighty hill I am looking to be able to use the API the same way the dashboard works (not the other way around)

mighty hill
#

@deft ruin Oh, gotcha. That's not possible, but what's your use case? Maybe I can suggest an alternative.

deft ruin
#

my use-case is that I want to charge a customer a specific amount, and have that generate an invoice they can download (and i don't want to confuse them with pending invoice items)

spiral anchor
#

I need help updating my payout method.

#

My account is connect thru RVShare.

deft ruin
#

basically i want to do exactly what you can do with the dashboard, only with the API

mighty hill
#

@mossy wren Confirmed Prices belonging to an Archived Product cannot be used. The API returns this error when you try:

Price `price_123` is not available to be purchased because its product is not active.
mossy wren
#

@mighty hill amazing, thank you so much for confirming 💯 I have a follow up question: for the existing subscribers subscribed to that Price, what happens to their subscriptions if the product is toggled to active: false?

mighty hill
#

@deft ruin Unfortunately there's no way to have the API behave the same way today. This is something we're working on improving, but there's no timeline for those changes at this time.

#

@spiral anchor I wish I could help, but this chat is focused on developers and technical questions. Our support team will be able to assist you better than I can: https://support.stripe.com/contact/email

#

@mossy wren Nothing should happen to them.

mossy wren
#

@mighty hill Great, thank you.

mossy wren
#

@mighty hill Does this mean the existing subscribers will continue to be charged for deactivated products?

mighty hill
#

@mossy wren I believe that's the way it works, yeah, but I don't think I've tested that specifically. Are you seeing different behavior?

mossy wren
#

@mighty hill We're still coding out the subscriber functions so I haven't gotten to the testing bit yet. If that's the way it works, then it's perfect.

summer wyvern
#

Hi @mighty hill @meager hawk , we are building a mobile app using flutter, is there any document or methods for us to integrate stripe into flutter to enable checkout using credit card / fpx ?

#

Or anyone knows the answer

mighty hill
#

@mossy wren I just did a quick test and it appears to work that way, yep. Archiving the product had no impact on a Subscription using one of its Prices.

mossy wren
#

Amazing, thanks again for testing it and confirming. This really helps.

mighty hill
summer wyvern
mighty hill
#

@summer wyvern I believe so, but I'm not familiar with the specifics of that library or Flutter in general.

summer wyvern
#

instead of building the checkout natively in the app , we redirect the user to stripe checkout web page for easier implementation

mighty hill
#

@summer wyvern I'm not sure I understand your question. Are you asking if you can redirect to Stripe Checkout inside your app or are you asking something else?

summer wyvern
#

yes , if we can redirect to stripe checkout inside the app

mighty hill
#

@summer wyvern Yes, you can do that.

summer wyvern
#

may i know which documentation to follow?

mighty hill
#

@summer wyvern When you create a Checkout Session it will have a url property. That's where you send your customer in your app.

#

@summer wyvern Are you looking for specific documentation beyond that?

summer wyvern
#

yes, any implementation technical documentation for us to follow

#

is it this one?

mighty hill
#

@summer wyvern Yes, although that doesn't cover Flutter specifically.

summer wyvern
#

yea, since flutter is quite new and not much of community support , im thinking if we can just use the stripe checkout hosted page instead? in the native app , we redirect the user to a web view page in the app.

#

it is technically just a web page.. i guess?

mighty hill
#

@summer wyvern Yep, that should work fine. Checkout is a web page, yes.

#

@summer wyvern Just to clarify, the steps would be:

  1. Create a Checkout Session on your server
  2. Pass the url to your app
  3. Load the url for your customer to interact with
#

@summer wyvern The only issue you might run in to is the success_url and cancel_url on the Checkout Session. They need to be valid, internet-routable URLs, so you should set them to pages on your server that would then send your customer back to your app/trigger next steps in your app.

summer wyvern
#

i see, let me try , thanks!

#

what is the different between this and the stripe checkout? both has web option

steady gyro
#

Who can help for atripe account verification

mighty hill
#

@summer wyvern That page is about all of Stripe's payment integration options, including Checkout and other options.

viscid ridge
#

Hi,
when I activate the test mode everything works on my e-commerce site. But once I decide to switch to production mode, the bank data entry part disappears. And my formula on my stripe is automatically put in test mode.

mighty hill
steady gyro
mighty hill
#

@viscid ridge Hello! I wish I could help, but this chat is focused on developers and technical questions. Our support team will be able to assist you better than I can: https://support.stripe.com/contact/email

#

@steady gyro Right, that's the email form to contact support; we can't help with Stripe account issues here.

meager hawk
#

@light hawk ok so to be clear, that preview in the Dashboard uses subscription_proration_date which basically is to say "act as if I am directly calling the Update Subscription API at this given time" for the purposes of calculating proration, but it still creates/calculates the invoice as if it was created at the current time in other ways. You seem to be right anyway, it applies the coupon even though it should have expired by the time the invoice would be created. It's a limitation of that endpoint.

#

what I'd probably suggest is working around it manually by explicitly removing the coupon from the preview based on the period. One sec while I do something, it's easier to explain in code.

rigid ridge
#

Hi, is there a generic way of confirming a payment intent using Stripe JS without having to call a specific method depending on the payment method?

mighty hill
#

@rigid ridge Hello! No, there isn't.

rigid ridge
#

Okay, thanks!

viscid ridge
#

what should i do .

meager hawk
#

@light hawk this is what I mean, basically, add some extra logic to avoid applying the discount if it will have expired. With this code the preview invoice is just the cost of the monthly price, which is expected value you want I think. Ultimately yes, the dashboard should do something similar most likely, it's an edge case bug.

let subscription = await stripe.subscriptions.create({
    customer: customer.id,
    default_payment_method : pm.id,
    coupon:"1LxJxhvx", // duration_in_months:6
    items: [
        {
            price: "price_1J7N6UJoUivz182DvvT9SRde", // yearly
        },
    ],
    expand : ["latest_invoice"]
}); 

let timeToApplyUpdate = subscription.current_period_end; 
// conditionally apply coupon to the previewed invoice
let couponVal = subscription.discount.end < timeToApplyUpdate ? "" : subscription.coupon

const invoice = await stripe.invoices.retrieveUpcoming({
  customer: customer.id,
  subscription:subscription.id,
  subscription_proration_date:timeToApplyUpdate,
  subscription_items: [
    {
        id:subscription.items.data[0].id,
        price:"price_1J7NTYJoUivz182DYOECb8kX" // monthly
    }
  ],
  coupon:couponVal
});
mighty hill
viscid ridge
mighty hill
#

@viscid ridge Sorry, I still can't read that, as I do not speak that language. If you want to ask for help here can you provide a transalation?

desert moat
#

Hi everyone,

I would appreciate if someone help me with updating payment method for recurring payments.

Thanks 🙏🏻

#

Nodejs

mighty hill
#

@desert moat Hello! I'd be happy to help, what do you need exactly?

viscid ridge
desert moat
#

I have set the subscription but in case the user would like to change his card in the future, i get the payment method id and then attach it with user and subscription but in case 3D secure it doesn’t work

mighty hill
#

@viscid ridge Okay, I can read that now, but I'm not seeing any error message. Are you seeing anything in the web browser's console that might indicate a problem?

desert moat
#

I have to confirm Card payment first I guess

mighty hill
viscid ridge
#

no form in live mode

mighty hill
#

@viscid ridge Yes, I see the problem, but I need your help to solve it. Are you seeing errors in the browser's console?

#

@viscid ridge Alternatively, can you provide a link to that page so I can look at it myself?

desert moat
#

Appreciate it

viscid ridge
mighty hill
#

@viscid ridge I'm unable to accept DMs here, sorry. Are you a developer? Were you able to take a look at the console?

viscid ridge
mighty hill
#

@viscid ridge Is that the only error or are there others?

mighty hill
#

@viscid ridge Yes that's the only error or yes there are others?

viscid ridge
mighty hill
#

@viscid ridge Gotcha. It sounds like the issue might be that an error somewhere in your JavaScript might be stopping code execution before the Stripe.js code that mounts Stripe Elements runs. Are you able to find the source of that error and correct it?

vocal wagon
#

hello I am having this problem! Can you help me ?

dim hearth
vocal wagon
#

thanks

mighty hill
#

@viscid ridge I can't help further without seeing the page. If you're not willing to share the URL here you should contact support for one-on-one assistance: https://support.stripe.com/contact/email

dim hearth
#

@vocal wagon From the error message it sounds like you passed in GP as the country, but that isn't a valid country value you can use with payment requests. Was GP a typo, or are you trying to use it for an unsupported country?

vocal wagon
#

Yes I live in Guadeloupe. But I know that stripe works in Guadeloupe because I have already used it on another website!

dim hearth
#

@vocal wagon I can't speak to how the other website is using Stripe, but to my knowledge it's not a country we support at this time - if you have further questions you can talk to support (https://support.stripe.com/contact). They'll know more about the country-specific capabilities of stripe

vocal wagon
#

okk

#

thanks

light hawk
#

@meager hawk thanks for looking into this 🙂

worldly knoll
#

Is it possible to bring an existing Stripe account into a Companies umbrella of accounts. The idea is to preserve the customers, charges, etc but move the entire Stripe account into a Companies umbrella of accounts?

viscid ridge
mighty hill
#

@viscid ridge I don't understand your question. Change what?

dim hearth
ashen heath
viscid ridge
worldly knoll
#

@dim hearth Larger company acquired a smaller one. I'm not entirely sure if the larger company is using Connect but they manage multiple Accounts under their larger Org account? The smaller company has a general Stripe account (no connect), I wanted to know if it's possible to merge the Smaller company (no connect) into the larger Organization's (presumably Connect)'s account.

mighty hill
#

@viscid ridge I can't tell you what change to make without seeing the code that's throwing the error.

#

@viscid ridge To clarify, this is a public place where Stripe developers hang out to get help with questions and issues. I'm happy to help you here, but you would need to share the URL to your page publicly. If you're not comfortable with that I totally understand; in that case you would need to reach out to Stripe Support for private help.

dim hearth
dim hearth
worldly knoll
#

@dim hearth Fantastic, thank you! Saves me from having to update existing code that has to guess which account the Stripe customer is on every time we want to process a Charge, update a Customer, etfc.

dim hearth
worldly knoll
#

@dim hearth I understand, thank you.

mighty hill
#

@viscid ridge Do you have the code that involves disposeWindowBubble (referenced in the error you shared earlier)?

#

@viscid ridge Actually, is this your code? This looks like WooCommerce's code to me?

viscid ridge
mighty hill
#

@viscid ridge I think it's probably best if you write in to support so you can get private support and share the page: https://support.stripe.com/contact/email

wintry wren
#

From what I can tell, there's no webhooks that can be sent when a new BalanceTransaction object is created, correct?

dim hearth
wintry wren
#

Right. Thank you. Our integration was done years ago and we have multiple items being purchased through a single Charge, so while Stripe says our balance went up by, say, $100, it's actually three different items that were purchased, and we're finally looking to break it up. I can just call the BalanceTransaction endpoint and go from there.

#

Appreciate your help!

rigid ridge
#

Hi! How could I retrieve all invoice objects related to a subscription/subscriptionschedule?

dim hearth
molten nest
#

Hi! I'm having bank account problems, it says hat the quantidity of digits is not available, but it is all right, and i can not have payouts

#

I'm from Brazil

#

I need a personal Support pleases for account verifications

dim hearth
molten nest
#

thank you

opal ibex
#

Hi! I have two separate Stripe platforms on my site. When creating a standard account for a client, is it possible to add their account to both platforms at once, or does the client have to go through onboarding once per platform?

dim hearth
opal ibex
acoustic dew
#

Hey! Looking for some advice regarding the best way to implement a free plan. We're currently using a "free" price ($0/month) on the same Stripe Product as our paid plans.

When a user changes plans we just update the price id in their current subscription, and let Stripe handle the rest. This makes things a bit awkward for unpaid/pastdue customers, because when they downgrade to free, their account is still marked as unpaid/past due and our app stays locked to them.

Our best idea for a workaround is to forgive/void outstanding invoices when downgrading to a free plan, but just wanted to check whether we're missing a simpler option altogether.

dim hearth
acoustic dew
somber sundial
#

Hi Stripe team! Quick question: how can I automatically create a subscription based on a contract signed in either a PandaDocs envelope or a HubSpot quote?

dim hearth
somber sundial
#

Ok thanks! Unrelated question: when using Stripe React, I'd like to have Elements present the local currency based on where the consumer is accessing my website from, i.e. USD if they are US-based and EUR if they are Spain-based. Can this be done? Do you have documentation?

dim hearth
somber sundial
#

We haven't started developing yet. Thinking about using the PaymentsIntent API and wondering if it would display local presentment currencies before starting work on it

dim hearth
# somber sundial We haven't started developing yet. Thinking about using the PaymentsIntent API a...

Well if you're accepting card payments and using elements, the only thing we're displaying is the card information inputs - not the actually currency of the payment intent or anything. Currency of a payment intent is something you need to pass in server-side when it's created, which is certainly something you can control if you pass the customer's country to your backend and add logic to use the appropriate currency when creating the PaymentIntent. Does that make sense?

somber sundial
#

Yes, that does. Do you have addtional documentation on this that I can fwd to team?

dim hearth
# acoustic dew Just created one as an example: `sub_JkwAdnY4p6Qbm5`

Thanks for sending that over! So really, your best option is the one you already described (voiding the unpaid non-zero invoice). This is because the subscription status is determined by the most recent invoice, and so you'll be stuck with the past_due status until the subscription renews w/ the $0 price. You could try passing in proration_behavior: none and billing_cycle_anchor: now to immediately invoice at the new price, but that will change the renewal date of your subscription.

dim hearth
rigid ridge
acoustic dew
dim hearth
# rigid ridge Hmm, but that would only work with subscriptions, right? not with subscription s...

Once a subscription schedule has started, an associated subscription is generated which you can then use to check for all invoices. I believe you'd find there here: https://stripe.com/docs/api/subscription_schedules/object#subscription_schedule_object-subscription

dim hearth
acoustic dew
dim hearth
acoustic dew
dim hearth
acoustic dew
#

Super helpful

ripe spindle
#

When adding a bank account to a Custom Connect account, does it need to be verified like a Customer bank account source is verified? ie with microdeposit verification? I can't find a clear answer in the docs.

mighty hill
#

@ripe spindle I thought we had a doc about this, let me check...

ripe spindle
mighty hill
#

@ripe spindle What does "operating on behalf of our connect accounts" mean?

ripe spindle
#

Our users don't access their own connect accounts, we facilitate payments on their behalf

#

The only interaction they have with Stripe is via the onboarding flow you guys provide

mighty hill
#

@ripe spindle Ah, gotcha. As far as I know the only validation we perform when you add a bank account to a Custom account is to ensure things like the account number is valid and whatnot. There's no microdeposit verification required because you're putting money in, not taking money out.

ripe spindle
#

What about in the case of refunds?

mighty hill
#

@ripe spindle For Custom accounts the platform is responsible for refunds.

ripe spindle
#

the platform, meaning my company?

mighty hill
ripe spindle
#

Okay I'll take a look at that, going back to my first question. What exactly happens when a bank account can't automatically be verified? Can we create an account link to have the user fix it in Stripe similar to how we have them make updates in Stripe for KYC changes?

mighty hill
#

@ripe spindle You'll get an error from the API and the operation you're trying to perform will fail.

ripe spindle
#

At that point can they fix it or do they have to try to add a new bank account?

mighty hill
#

@ripe spindle That's entirely up to you and how your system handles the error.

fast mantle
#

You'll need to use the API to collect the new bank details yourself.

#

(or the dashboard)