#panther-integration-help
1 messages · Page 1 of 1 (latest)
panther-integration-help
👋 @lavish briar ! Let's go step by step as there are dozens of ways to integrate Stripe and it's important that we align on what you are using exactly.
Can you explain what you call "Stripe's designer"? Do you know which of our product(s) you are using? Like do you use PaymentLimks where you get a buy.stripe.com URL? Or something else?
yes sorry i mean i created the checkout page using the paymentlinks section
perfect so right now all you did was in the Dashboard configure a PaymentLink for your needs. You haven't written real code to integrate our API just yet and you get (or will get) payments from your customers by sending them to your PaymentLink URL right?
yes thats correct
my end goal is to take data from that checkout page and populate an excel worksheet
Okay so the best way to do this is to use what we call Webhooks
The idea is that every time something happens in your Stripe account, we (Stripe) will generate an Event that describes what happened and send it to your own code/server based on a URL you configure in your account.
So for example when someone pays via a PaymentLink successfully you're going to get checkout.session.completed as an Event type and it will have some information about what they paid for and who they are.
You need to write code that listens to that specific Event type and the "extracts" the information you need, and then put it somewhere (in your database, or your Excel file and such)
ok so instead of creating a script that will try to make requests to your API, i need to have some sort of a listener for this WebHooks?
is there an existing guide for this anywhere that you could point me to ?
thank you for your help