#nsad_api

1 messages ยท Page 1 of 1 (latest)

steel tartanBOT
timid mangoBOT
#

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

steel tartanBOT
#

๐Ÿ‘‹ Welcome to your new thread!

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

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

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

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

open hamlet
#

Hello

azure void
#

Hello

open hamlet
#

Can you provide a bit more information?

#

What does "i don't know if really are working" mean?

azure void
#

Of course, i am try to split payments in subscription

#

after create subscription, i create this:

            stripe.Transfer.create(
                amount=transfer_amount,
                currency="brl",
                destination="acct_1PFnznQ0MPA1mEEs",
                source_transaction=charge_id,
            )
#

but how i can verify if transfer the about correct in dashboard?

open hamlet
#

You can either look at your requests in the Dashboard or you can set a variable to the response for that method and log that variable afterward to inspect it.

#

You can then look up the Transfer ID in the Dashboard

azure void
#

Basically i enter in my connect account

#

was the 10% for value correct

#

but in my principal account just show the transfer_group

#

dont show transfer_amout inside payments page?

open hamlet
#

Do you have an example Transfer ID?

#

Based on what you are saying above it sounds like an issue with your transfer_amount variable in that case?

azure void
#

For example

#

its working the transfer value

#

but dont show in my painel understand?

open hamlet
#

No, sorry, I don't understand

#

I need you to provide a specific example

#

Or a screenshot

#

Or more information

#

But just saying "it's not working" doesn't tell me anything really

azure void
open hamlet
#

Can you share the ID for that PaymentIntent?

#

It looks like pi_xxxx

#

In the top right

azure void
#

ok

#

pi_3PFoHQLD7F1SKXUO0QXFdsmp

open hamlet
#

You are saying you expect there to be a Transfer shown directly associated with that PaymentIntent?

#

And you are confused why there is not one?

azure void
#

yes

open hamlet
#

You are creating Transfers separately here

#

So they aren't directly associated

azure void
#

Uhum...

open hamlet
azure void
#

how i can do that inside subscription

open hamlet
azure void
#

but for example, stripe subscription create automatic

#

i need change something inside the checkout?

#

or i need modify subscription?

open hamlet
#

Oh you are using Stripe Checkout?

#

Ah yes you are

#

subscription_data.transfer_data when you create your Checkout Session

azure void
#

Oh nice

#

thanks so much my friend

#

this works

open hamlet
#

๐Ÿ‘

azure void
#

another thing

#

this is recurring?

#

or just one time this payment?

open hamlet
#

Subscriptions are recurring

#

Oh you mean the transfer?

azure void
#

yes

open hamlet
#

The transfers will be recurring as well

azure void
#

ok

#

have a way to change this

#

like 3 times or something

open hamlet
#

Change what?

azure void
#

for example, i wanna split in 3 first payments

#

after that dont transfer to connected account

#

need modify subscription?

#

remove transfer_data or something?

open hamlet
azure void
#

ok

#

last thing, how a account connected can access your account in stripe, because dont have password, when i use stripe.AccountLink

open hamlet
#

What type of Connected Account?

azure void
#

ok

#

i am create a affiliate system right?

#

after affiliate register in my software create this:

def create_affiliate(request):
    account = stripe.Account.create(type="express", country="BR")
    account_link = stripe.AccountLink.create(
        account = account.id,
        refresh_url="https://example.com/reauth",
        return_url="https://example.com/return",
        type="account_onboarding",
    )
    return redirect(account_link['url'])
open hamlet
#

Okay so it is an Express account

#

Either works

azure void
#

using SSO?

#

continue with email?

open hamlet
#

If they have an Express account then they should have set up an email/password

azure void
#

ok i forgot this.

#

before the account are restrict

#

because my account needed confirm data, but now are working

open hamlet
#

๐Ÿ‘

azure void
#

Is there any type of restriction for the affiliate after creating the account to start receiving?

#

like restrict? ou something?

open hamlet
#

You can check the requirements hash on the account to see if they have outstanding requirements

azure void
#

ok thanks so much for your attention!

#

have a nice day!