#NepaliNightmare
1 messages · Page 1 of 1 (latest)
Hello, one idea that comes to mind is that you can set metadata on the checkout session object to shown that you have given credits for it https://stripe.com/docs/api/metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Is there any function like :stripe.checkout.sessions.cancel(sessionId) so that we can make stripe.checkout.sessions.retrieve(sessionId) not work?
This is a specific question my team is asking
Unfortunately not, the only method like that for Sessions is the expire method and that only works for active sessions. Cannot be done for completed sessions https://stripe.com/docs/api/checkout/sessions
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I think this may end up being more a question of how to log given credits on your side and how to make that more tamper proof