#jas-application-fees

1 messages ยท Page 1 of 1 (latest)

solemn anvil
#

hiya - do you have a sample payment intent where you're having this problem? from the error message, it sounds like it's a payment intent paying into your own account, and you can't collect a fee from yourself

quick rain
#

hello , i can send you the preview of the website , and a screen of my workflow if it's can be more clear

solemn anvil
#

if you have a payment intent ID, that would be the easiest thing to confirm with

quick rain
#

here is what I entered in my settings, and without the plug in I simply entered my keys

#

when I don't check "the payee of this transaction is another user" it works

solemn anvil
#

bubble has their own integration - I don't know how it works, or whether those settings look reasonable. if you want help with that bit, you'd need to ask bubble

#

if you have a payment intent ID, I can look at what bubble is passing to stripe when it makes the API request, and we can try to debug it from that angle

quick rain
#

i cahnge all my API and know the error message it's "Stripe error: No such customer: 'cus_KfBQgJRs2Oscjs' "

#

Do you know what it means?

#

where i can found the payment intent ID?

#

I have changed ***

solemn anvil
#

hmm - you seem to have a couple of different accounts

#

the customer ID referenced in the error message is from one account, but you're trying to create a payment on a different account

#

and it's not finding the customer

#

did you change which account bubble is connected to at some point?

quick rain
#

i think it was because ths profil wasn't register on stripe

#

i will check

#

every time I create a connect account, the same ID is added to my database for all my customers

#

and on my stripe account I only see one connect account

solemn anvil
#

the same connected account ID is added to your database each time?

quick rain
#

yes

solemn anvil
#

wdym for all your customers? why does each customer keep independently keep track of each connected account?

quick rain
#

no each customer has an ID seller account to receive the amount of their service and my platform collects only the fees

solemn anvil
#

gotcha

quick rain
#

I'm going to start going crazy, I've been trying to solve this problem for weeks ๐Ÿฅฒ lol

solemn anvil
#

it sounds like there are a couple of separate problems here:
1/ you've got at least three accounts in play here. there's the connected account, its platform, and a 3rd account that the customer exists on. that 3rd account is also a platform, and apparently created the 1st account? there's some sort of grandparent situation going on here, which isn't supported. I'm not sure if this is intentional, or if something just got mixed up. if this is not intentional, one way to solve this would be to wipe the state in your testing bubble db, and set up the customers up again

quick rain
#

it's half past midnight in France, stripe has left me, I'm thinking of going to sleep for a few hours before getting back to it, if you have a solution, don't hesitate ๐Ÿ˜ซ

solemn anvil
#

2/ when you're creating payment intents, you're getting the previously mentioned application fee error, which is caused by trying to create an application fee on a payment intent which is to your own account.

quick rain
#

ohhhh I understand better _ I did the test with the stripe account I use for the platform ๐Ÿ˜…

solemn anvil
#

I was able to track down an example of the error from (2) - the request isn't made on behalf of another connected account, nor does it specify destination/on_behalf_of

quick rain
#

It seems so obvious now

solemn anvil
#

ah - it sounds like you've worked out (1)? I still don't fully understand what was going on there, but if you've got it figured out, that works for me ๐Ÿ™‚

quick rain
#

I am trying to delete the stripe ids already entered on bubble but I can't find the entry, I will fix this problem tomorrow morning, thank you very much for your help ๐Ÿ™‚

solemn anvil
#

gnight!

#

and no problem!