Aerendir/stripe-bundle

View on GitHub
docs/WebHooks.md

Summary

Maintainability
Test Coverage
*Do you like this bundle? [**Leave a ★**](#js-repo-pjax-container) or run `composer global require symfony/thanks && composer thanks` to say thank you to all libraries you use in your current project, this included!*

How to configure Serendipity HQ Stripe Bundle
=============================================

Before continuing reading this page, you should read the [Web Hooks section](https://stripe.com/docs/webhooks) on the Stripe's doumentation.

Webhooks are a way Stripe has to communicate with your app, sending it some important information about events that happen on your Stripe account.

Stripe Bundle can receive some of these events and manage them: once received an Event from Stripe, the Stripe Bundle will handle it, persist it and dispatch an event to make your app aware of what's happening.

To test the webhook you should use a service like ngrok.

Be sure in your app_dev.php there is no block based on IP (by default may be set only 127.0.0.1).

<hr />
<h3 align="center">
    <b>Do you like this bundle?</b><br />
    <b><a href="#js-repo-pjax-container">LEAVE A &#9733;</a></b>
</h3>
<p align="center">
    or run<br />
    <code>composer global require symfony/thanks && composer thanks</code><br />
    to say thank you to all libraries you use in your current project, this included!
</p>
<hr />