#keven

1 messages · Page 1 of 1 (latest)

near turretBOT
wise fractal
#

Hello

dim sorrel
#

hi

wise fractal
#

Products and Prices are used with Stripe Checkout or with Subscriptions/Invoices

#

If you create PaymentIntents directly then you don't use Products/Prices

dim sorrel
#

create PaymentIntents directly? Is there have any demo to refer?

wise fractal
#

You said: hi Team , for webhook event,did it much install Stripe CLI tool ? Is there exist http webhook?

#

I'm not sure what you mean by this

#

Can you elaborate?

dim sorrel
#

I mean, if I want to trigger a payment callback, I have to install stripe cil tool?

wise fractal
#

No you don't have to. You can just generate Events in test mode by making API requests if you prefer to test that way

dim sorrel
#

Can the interface be triggered directly in the background without going through the stripe cil?

wise fractal
#

Yes

dim sorrel
#

Is there have any docment or demo to refer ?

wise fractal
#

However those docs talk about testing with the CLI

#

But that isn't necessary if you don't want to use the CLI

dim sorrel
#

yes , I don't want to use CLI ,but I have not idea how to setup the http trigger

wise fractal
#

You just create a payment

#

So you can use the API or even just create a payment via the Dashboard

#

That will emit the corresponding Events

#

And if your Webhook is listening for those Events then they will be sent

dim sorrel
#

One more question, If I have two accounts, can I use them in the same application at the same time?

#

there have any method to swich the api key?

wise fractal
#

Yep you can use two accounts, you just initialize multiple instances of Stripe or Stripe.JS

dim sorrel
#

I don't understand , Stripe.apiKey is the static method

#

how to create multiple instances of Stripe?

wise fractal
#

You initialize Stripe multiple times

#

What language are you using?

dim sorrel
#

java