Skip to content

feat: add Shopify refund guardrail integration#98

Open
sureshchouksey8 wants to merge 1 commit into
aporthq:mainfrom
sureshchouksey8:aport-shopify-refund-guardrail
Open

feat: add Shopify refund guardrail integration#98
sureshchouksey8 wants to merge 1 commit into
aporthq:mainfrom
sureshchouksey8:aport-shopify-refund-guardrail

Conversation

@sureshchouksey8
Copy link
Copy Markdown

Issue

Closes #7

Summary

Adds a runnable Shopify refunds/create webhook guardrail that verifies Shopify HMAC signatures, calls APort for payments.refund.v1 decisions, approves allowed refunds, and tags denied refunds for manual review.

Acceptance Criteria

  • Complete Shopify app/refund guardrail example
  • Uses environment variables for Shopify/APort credentials
  • Verifies webhook signatures before processing
  • Sends refund context to APort policy verification
  • Includes setup docs and tests

Testing

  • npm install && npm test in examples/ecommerce/shopify-guardrail

Submitted by Suresh.

Copy link
Copy Markdown
Author

This is ready for review. I kept the Shopify refund guardrail scoped to a runnable integration example, with configuration docs and a fail-closed verification path so it can be reviewed independently of the other APort submissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Hacktoberfest] Build a Shopify App Refund Guardrail

1 participant