Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook processing #143

Open
1 task
rockwelln opened this issue Jan 9, 2025 · 0 comments
Open
1 task

Webhook processing #143

rockwelln opened this issue Jan 9, 2025 · 0 comments

Comments

@rockwelln
Copy link

Environment

  • Checkout SDK version: 1.3.2
  • Platform and version:
  • Operating System and version:

Description

referring checkout/checkout-sdk-java#441
that would be nice to have the proper structures for webhook events data instead of a map[string]any.

Data map[string]interface{} `json:"data,omitempty"`

Proposed Solution

turning data into json.RawMessage and publishing the event structures should allow switching on event type and decoding the right struct.

  • I may be able to implement this feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant