#Radar

1 messages · Page 1 of 1 (latest)

lean moonBOT
zealous carbon
wooden lotus
#

how do I check this ?

zealous carbon
#

or maybe can you share your account id instead? I'll try to find the request from your account

wooden lotus
#

acct_1LuhGPDlqoLrd46L

#

Found it ?

#

I didn't delete the connected accounts they're still there. But the subscriptions the connected accounts created are giving this error when I try to click 'purchase'

#

?

#

I just created a brand new connected account, created a subscription and got the same error. So I don't think its related to what I said above.

#

@zealous carbon did you manage to find out what I did wrong

zealous carbon
#

i'm still in the middle of looking

wooden lotus
#

thanks

#

I really don't want to lose the subscriptions that my connected accounts already created, because it was a lot of effort and convincing to onboard them and have them create a subscription and if something is wrong I hope I can fix it from my side

zealous carbon
wooden lotus
#

Let me explain

My app allows connected accounts to create subscription, which they offer to their audiences and I get 10% of what they sell.

Every time I onboard someone, I convince them to create a Stripe connected account inside my app, and then they make a test subscription and I buy just to show them how it works.

Recently I was aiming to delete the test purchases I made so I deleted the "customers" from my Stripe dashboard.

Because my understanding is that the customers are the users that bought the Stripe Subscriptions that my connected accounts created.

#

Now I'm getting this error

zealous carbon
#

to be able to help you, i need to know if you were trying to create direct charges or destination charges for subscriptions

#

depending on your answer, what you need to do would differ

wooden lotus
#

I don't remember the name.

But this is how it works on my system.

My connected accounts get the money from the subscriptions directly to their Stripe/Bank account AFAIK

#

My Stripe account gets a fee (15%) off their recurrent subscriptions

#

Is it clear ?

#

How can I check on my dashboard?

zealous carbon
#

it sounds like you're using direct charges. As per the docs :

the connected account to be responsible for Stripe fees, refunds, and chargebacks, use direct charges. With this approach, customers won’t be aware of your platform’s existence because the author’s name, rather than your platform’s name, is shown on the statement descriptor. In our online publishing example, readers interact with authors directly.
#

can you confirm that's what you want?

wooden lotus
#

I got this error when I tapped the button to buy a subscription, the button would popup the credit card info

#

yes its direct charge I think

#

There's only one modality available in Brazil

zealous carbon
#

i don't see any StripeAccount header being passed in your requests

wooden lotus
#

But it was working fine as far as a couple days ago

#

do you think I messed something up when I deleted customers ?

#

Or that made a bug happen ?

zealous carbon
#

the customers still exist in livemode

wooden lotus
#

Sorry I don't understand

#

Why did me deleting the customer list cause this bug ?

#

Or this bug was not caused by me deleting the customer list ?

#

Because in theory the customer is just someone that bought the subscription I should be able to delete it without making the subscription unavailable/give this error

zealous carbon
#

to clarify - the request failures right now are occurring in live mode, and you deleted test mode customers right?

wooden lotus
#

I deleted from live

#

Let me explain why

All the "customers" were "me"

Once I onboarded a new connected account. I had them create a test subscription and I bought it just to show them how it worked.

That was billing me, and I wanted to delete this since it was just a test to show the connected accounts how Stripe worked.

#

The connected accounts never sold anything to a third party

#

So I thought that would be no harm in deleting the customers

#

because they were just me buying subscriptions to show the onboarded connected accounts how the system worked

zealous carbon
#

this is actually a Subscription using destination charge

#

the customer cus_NgSLmBShs4D69U was deleted

#

that's why you're receiving the error No such customer: 'cus_NgSLmBShs4D69U'

wooden lotus
#

Let me do a test then

#

I will create a new user now

#

and see if I can buy the subscription

#

one second

#

Oh I see

#

Now that I created a new account

#

I can see the CC popup

#

My main account was the one I used to buy subscriptions as a test

#

since I deleted that account as a customer

#

it dissapeared

#

And now I cannot purchase any new subscriptions with that account

#

right ?

zealous carbon
#

when you say account - are you referring to a Customer object?

wooden lotus
#

I used my main account to purchase all of those tests

zealous carbon
#

does that account id start with the prefix cus_?

wooden lotus
#

yes

zealous carbon
#

then yes, since you deleted that Customer, you can't use it to purchase subscriptions

wooden lotus
#

I can't use it anymore in the future ?

zealous carbon
#

no, you cannot use it anymore in the future

wooden lotus
#

That was my main account that I used the app with, is there anyway I can restainte it as a customer so I can continue to purchase subscriptiosn through it ?

zealous carbon
#

you could always create a new Customer?

#

is there any reason that you can't do that?

wooden lotus
#

with that account ID ?

#

how would I do that ?

#

I haven't tried

#

can you tell me how ?

zealous carbon
wooden lotus
#

But how do I create a customer that I previously deleted ?

#

Is that possible ?

zealous carbon
#

you're creating a new Customer object