#keven
1 messages · Page 1 of 1 (latest)
Hello
hi
Products and Prices are used with Stripe Checkout or with Subscriptions/Invoices
If you create PaymentIntents directly then you don't use Products/Prices
create PaymentIntents directly? Is there have any demo to refer?
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?
I mean, if I want to trigger a payment callback, I have to install stripe cil tool?
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
Can the interface be triggered directly in the background without going through the stripe cil?
Yes
Is there have any docment or demo to refer ?
https://stripe.com/docs/webhooks are our docs on webhooks
However those docs talk about testing with the CLI
But that isn't necessary if you don't want to use the CLI
yes , I don't want to use CLI ,but I have not idea how to setup the http trigger
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
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?
Yep you can use two accounts, you just initialize multiple instances of Stripe or Stripe.JS
I don't understand , Stripe.apiKey is the static method
how to create multiple instances of Stripe?
java