#JCoDog-webhooks
1 messages · Page 1 of 1 (latest)
yep
details depend on what exactly you're integrating with (Checkout or Invoices or PaymentIntents directly) but they all send webhooks and you would use them for reconciliation/order fulfilment
I am not sure. It is for one time payment using a custom flow... Like they can adjust how many they can buy as its tokens for use on other products on the site
So would that be checkout or paymentintents?
I don't know exactly, is it something you've built already?
Not exactly. As I need to be able to use it in a node.js discord bot app and the website
I was hoping that if they ran the command it could send them to a link through checkout or something with the data needed
if not it comes down to what you do end up building(https://stripe.com/docs/payments/accept-a-payment is the guide with various options) at the end of the day
depends what you mean by 'data' but I can't see a world where you type a card number into a Discord message with a bot and it sends that info to Stripe to process the payment, it would be a PCI compliance nightmare for you
No you dont
but you can build a normal web page using Checkout/Elements and redirect to that, that's fine
like /buy credits 2000 and it sends you to checkout to complete the purchase
cool, sounds fine then!
Would it just be better to use the website alone and not use the discord command?
As I think I am going to use checkout instead of the custom flow using paymentintents
How do I allow users to alter the amount to purchase in the checkout page itself?
I can't say, it's your product. You do need a website at some point, it's up to you if you want a command to open that site up
https://stripe.com/docs/payments/checkout/adjustable-quantity are the options available in that area
I figured it out... it can be done entirely from command or site... But will the payment response sent to the webhook include the quantity?
yes