Closed msalbrain closed 10 months ago
Hi @msalbrain,
Thank you for the work done, but it's not exactly what I wrote about in https://github.com/shurco/litecart/issues/51#issuecomment-1777152848 I meant that litecart should send a webhook to the specified address when one of the triggers is activated.
Your code sends a webhook from Stripe. Since payment is made in a sliding mode, such hooks are not needed.
thanks for the heads up. I see where you're coming from with the updates to the cart in the DB. I'll use that to trigger the webhook/API calls for payment updates.
Quick question: Should I ditch the webhook secret key, or is that part of another cool feature you've got in mind?
Quick question: Should I ditch the webhook secret key, or is that part of another cool feature you've got in mind?
You don't have to use the webhook key.
Description
This pull request addresses #51 with the following changes:
stripe_webhook_url
andstripe_webhook_id
)UpdateSettings
handler was update to accept awebhook url
input and make update to stripe as neccesarry/api/_/stripe-webhook
. Although it wasn't set as defaultType of change
Please delete options that are not relevant.
Checklist: