#mlo300

1 messages · Page 1 of 1 (latest)

summer perchBOT
naive venture
#

That will help you setup a custom payment flow

#

Then you can sprinkle in the Connect elements you need

gilded maple
#

How can I check that the seecret key and public key belong to the same account when a user saves them to my site?

naive venture
#

You don't save their keys if you're using Connect

gilded maple
#

On payment intent explain me the difference between confirm and automatic_payment_methods

#

No I have to save them for other reasons, for example, to get the account connects

naive venture
naive venture
gilded maple
#

Like no, excuse me send me the doc where stripe is initialized, with seecret key in it.
I don't understand, I am obligated to save it since my app supports multiple stripe accounts

naive venture
#

You should be using Connect then, no?

gilded maple
#

Yes, but the user use my platform save the our api key

naive venture
#

If you're using Connect, then you should not be collecting and storing API keys of your connected accounts. You use the Stripe-Account header to make API requests on their behalf, as noted at the URL above

gilded maple
#

I am not using connect because I need to access some account data

naive venture
#

Such as?

gilded maple
#

customers

naive venture
#

What is that in the context of Stripe objects? Their actual Stripe account?

#

You can access some of that data via Connect auth

gilded maple
#

I have to access all the customers create payments from inside their stripe that go inside their customers

naive venture
#

Ok, and what's preventing you doing that using the Stripe-Account header?

#

Are you processing payments on behalf of your users? Are you a platform that takes a fee?

gilded maple
#

Through connect you mean?

How do I make a payment that goes to one connect and then from that connect go to another connect becomes crazy

naive venture
#

You initially asked me how you can collect payments in Next.js

#

With the stipulation that 'connected to an affiliate via connect'

#

So my assumption was you were using Connect, so you can use the Stripe-Account header

gilded maple
#

Nono, it is very complex then the app has many features.
The users themselves use it with more than one stripe account at a time and in the end the most practical method is to save the keys in the database temporarily.

#

The first example you sent me is also there in typescript?

naive venture
summer perchBOT