#Radar
1 messages · Page 1 of 1 (latest)
hi there, can you share the request id [0] where you encountered that error? it'd look like req_xxx
how do I check this ?
or maybe can you share your account id instead? I'll try to find the request from your account
You can find your account id by logging in to https://dashboard.stripe.com/settings/account. It'll be in the upper right hand corner and looks like acct_123
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
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
i'm still in the middle of looking
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
i'm a little confused about what you're trying to do - you've created the customers on the connected accounts, but you're trying to create the subscription on your account.
Were you trying to create subscriptions with direct charges or destination charges? https://stripe.com/docs/connect/subscriptions#decide-between-direct-charges-and-destination-charges
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
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
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?
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?
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
if you're using direct charges, you need to create the Subscription with the StripeAccount header https://stripe.com/docs/connect/authentication, https://stripe.com/docs/connect/subscriptions#use-direct-charges-to-create-a-subscription
i don't see any StripeAccount header being passed in your requests
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 ?
the errors that i'm seeing are on live mode : https://dashboard.stripe.com/logs/req_miNIiwn2ceQerW
the customers still exist in livemode
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
to clarify - the request failures right now are occurring in live mode, and you deleted test mode customers right?
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
lets use one request as an example : https://dashboard.stripe.com/logs/req_1dMU2tyxMiGX7u
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'
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 ?
when you say account - are you referring to a Customer object?
I used my main account to purchase all of those tests
does that account id start with the prefix cus_?
yes
then yes, since you deleted that Customer, you can't use it to purchase subscriptions
I can't use it anymore in the future ?
no, you cannot use it anymore in the future
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 ?
you could always create a new Customer?
is there any reason that you can't do that?
with that account ID ?
how would I do that ?
I haven't tried
can you tell me how ?
i don't know how you've implemented the logic for your application - but to create a new Customer, you can make this request https://stripe.com/docs/api/customers/create
you're creating a new Customer object