#-froggles-_error
1 messages ¡ Page 1 of 1 (latest)
đ 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/1288819389352902696
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
pi, err := paymentintent.New(&stripe.PaymentIntentParams{
Amount: stripe.Int64(amount),
Params: stripe.Params{
Headers: *headers,
},
Currency: stripe.String(currency),
Customer: &customerId,
AutomaticPaymentMethods: &stripe.PaymentIntentAutomaticPaymentMethodsParams{
Enabled: stripe.Bool(true),
},
UseStripeSDK: stripe.Bool(true),
OnBehalfOf: stripe.String(account.Stripe.CreatorId),
TransferData: &stripe.PaymentIntentTransferDataParams{
Destination: stripe.String(account.Stripe.CreatorId),
Amount: stripe.Int64(amount),
},
})
Hi there!
Can you share the ID (req_xxx) of the failing API request?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
But accoriding to the error:
You cannot create a charge with the on_behalf_of parameter set to a connected account with transfers but without the card_payments capability enabled.
The connect account must have the card_payments capability
i know that part but what's confusing me is that it was working without an error for the same account im trying to "donate" money to right now
it just stopped working
req_L2DrahRLmYOp2O
was there an API change?
Do you have a successfull reqestId on the same Account ?
That connect Account acct_1PbMJL4IbSdQNSRI has only transfers and payout capabilities indeed, but not payments.
let me look
req_c3oarOLoqwt2hr
Thanks for sharing. However this request isn't a destination charge with the same Connected Account.
this account also does not have card_payments enabled if im not mistaken
but let me look for the payment for that account, there are a lot of logs to sift through
You are referring to two different type of charges. The first one a destination charge for the Connect Account acct_1PbMJL4IbSdQNSRI. While the second is a normal charge made by the Stripe Platform Account.
wait, i am currently trying to make a payment intent for this account acct_1PVrukQKB1Lw6SlP since this one is the one where payments worked before
this is the request ID that just failed req_S1ewll84Qe1lZN
history of payments for that account
These are transfers from your platform Account and not Payments actually. Here is a requestId of the creation of one of these req_26ZyCbeSKap9dO
is there any alternative way to make the payments available to these accounts because it's a donation feature and we want users to be able to send them money?
because here it says payments are enabled
is there any alternative way to make the payments available to these accounts because it's a donation feature and we want users to be able to send them money?
You need to make transfer like you are doing previously, without using the on_behalf_of
Or you need to create other Connect account with the card_payment capability.
will only relying on google pay or apple pay require card_payments capability as well?
hey!
ah, okay
so transfers are the only way forward? for transfer the user transferring would require their own connect account, right?
not sure what you mea by "transfer" here. do you mean sending money from the platform account to the connected account?
what we want for the users is to donate their money to the creator/connect account without having to create a connect account for the user themselves.
transfers as in what @gentle nest said above
yes looks like you are talking about transfering money to a connected account. but I still don't understand your question. what exactly are you trying to do and what is the issue?
the feature we are trying to implement is a donation system. it works for the Connect accounts with "full" capabilities/Service Agreement without any issues. the issue is the connect accounts with "recipient" capabilities/Service Agreements. for full accounts, the donation goes directly to the connect account but for recipient we cannot directly send the payment to them since card_payment is not supported for them. we do not want our regular users to create a connect account first just to donate the money to the creator so i was asking if there is any other way to directly send the payment to the connect account with "recipient" Service Agreements.
if there's no other way than "transfer" then i was thinking that the donation goes to our platform account and then through webhook we "transfer" it the connect account with the "recipient" service agreement
you would make the payment on your platform account, and then send the money to your connected account with a transfer.