Skip to content

Improve documentation on webhook configuration #369

@MoritzLost

Description

@MoritzLost

Description

Similar to #368, the documentation on webhooks lacks a couple of important details.


Selecting all events as recommended results in Stripe showing a warning that this is inefficient:

Image

I don't want to have to beef up the server just to handle tons of webhooks requests that are irrelevant, and it does looks like there is a lot of events that we don't need.


After selecting all events, the next screen informs you that the selection requires two different payload types:

Image

If you proceed with this selection, you end up creating two endpoints with two separate signing keys. But you can only configure a single signing key in the plugin, so this doesn't work at all.

I assume you need to deselect everything that uses the thin payload style. But that's mostly guesswork.

Suggested fix

The README should maintain a list of which events, or at least which event categories, need to be selected for the integration.

Additional info

  • Craft CMS version: 5.9.20
  • Stripe for Craft Commerce version: 5.6.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions