#JCoDog-webhooks

1 messages · Page 1 of 1 (latest)

cinder parcel
#

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

magic bramble
#

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?

cinder parcel
#

I don't know exactly, is it something you've built already?

magic bramble
#

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

cinder parcel
cinder parcel
magic bramble
#

No you dont

cinder parcel
#

but you can build a normal web page using Checkout/Elements and redirect to that, that's fine

magic bramble
#

like /buy credits 2000 and it sends you to checkout to complete the purchase

cinder parcel
#

cool, sounds fine then!

magic bramble
#

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?

cinder parcel
magic bramble
#

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?

cinder parcel
#

yes