#Rayon-payments
1 messages ยท Page 1 of 1 (latest)
๐ Happy to help
We don't have a single API for the transactions you mentioned
Could you share what you want to achieve?
I wanted to keep track of the transactions in my Transaction Table in my database . But this table is for all transaction
like I mentioned above
Could you tell if what I am doing is alright?
I needed to keep track of the transaction said above , so I am listening to different webhook events and creating a row in My transaction table from based on that and giving type myself (eg. transfer , refund , payout)
and adding the id of the stripe as the link between my table and stripe
Yes, using Webhook events to keep track of the actions/transactions is recommended
another question , how do I make the webhook go live when using nginx and gunicorn ? Should I create a service from systemd ?
Test [0] and live [1] mode Webhook endpoints are configured separately and independently in the dashboards. You can create a different endpoints for test and live mode and configure them accordingly in Stripe dashboard.
[0] https://dashboard.stripe.com/test/webhooks
[1] https://dashboard.stripe.com/webhooks
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Forwarding domain is for local testing and development purpose. In live, you should use a hosting service provider to host your webhook app, then configure its URL in the dashboard to listen to events
ohh so just adding webhook url is enough in live ?
we don't have to do stripe listen like in local testing
Yes
that's one burden off my head
But what about when I am using test keys but in hosted domain
hosted server
to test
You'll need to set the Webhook secret to the live one, which will be provided after Webhook URL is configured in the dashboard
No problem! Happy to help ๐