#Daniele - Connect
1 messages ยท Page 1 of 1 (latest)
Hello! There's no endpoint, no, as the payment methods you choose to use are up to you. You can use this page in the docs to find out which payment methods will work for a specific scenario: https://stripe.com/docs/payments/payment-methods/integration-options
I should also point out we now have automatic_payment_methods available on Payment Intents, but they aren't fully compatible with Connect yet: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-automatic_payment_methods
We do plan to make that feature compatible with Connect, but there's no ETA for that at this time.
mh that's not what we need, basically:
we're a SaaS e-commerce platform, our clients (businesses) have their own clients (customers)
our invoice process is as follows: customer clicks on business' product, payment methods available are listed
as we do not have stripe only, other payment methods are shown here
in this page we'd need to know which Stripe payment method the connected account (business) has in order to display those to the customer
then the customer can click on the payment method he wants from the connected account's list, and then we have the normal PaymentElement flow
is it possible to do?
for example, PayPal offers a frontend SDK function to get the connected account's alternative payment methods list
which would result in something like this, and then only after we call PayPal's api
I don't think what you want exists. The Payment Methods supported on a given transaction depend on the specifics of that transaction. I think the closest thing to what you want would be the capabilities on the Account: https://stripe.com/docs/api/accounts/object#account_object-capabilities
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes! that's what we need
PayPal offers a more complete solution for this, automatically filtering the payment methods based on the customer's location and so on, but i guess we can filter those on our own
thanks for the help
No problem! ๐
While i'm at it, another question regarding invoicing
When i create an invoice in behalf of a connected account, how does Stripe handle emails?
Will they be sent based on our Stripe account settings or on the connected account settings?
Good question, let me see if I can confirm what my gut says, which is that this would still be platform emails
not sure if it changes something, but specifically this https://stripe.com/docs/invoicing/connect#on-behalf-of
with
const invoice = await stripe.invoices.create({
on_behalf_of: '{{CONNECTED_ACCOUNT_ID}}',
application_fee_amount: 10,
transfer_data: {
destination: '{{CONNECTED_ACCOUNT_ID}}'
},
customer: '{{CUSTOMER_ID}}',
});
Yep, thanks -- looking into this
It looks like the on_behalf_of invoice should represent the merchant of record, similar to the statement descriptor, so you'd see the connected account in the from email etc
yeah that i know, but i mean the email settings
ex. retries, email after payment completion [...]
where are those settings retrieved from
Oh, gotcha. Those would be coming from your platform, since the invoice/payment still exists in the context of your platform
Only direct charges (eg for standard accounts) would use the dashboard settings of the connected account
ok thanks, so everything from our platform's settings
Yep, in terms of retries etc
Great - glad to clear that up ๐