Skip to content

feat: support redirect URL in payment link after the purchase is complete #107

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

quochuydev
Copy link

@quochuydev quochuydev commented May 30, 2025

What this does

This PR adds support for a redirect_url parameter when using the Stripe agent tool's create_payment_link function.

Why

Closes #108 — feat: support return URL in payment link for post-purchase redirect

How

  • Adds redirect_url as an optional parameter
  • Updates the Stripe tool definition
  • Includes unit test for URL injection

Copy link

cla-assistant bot commented May 30, 2025

CLA assistant check
All committers have signed the CLA.

@quochuydev quochuydev changed the title feat: support return URL in payment link for post-purchase redirect feat: support redirect URL in payment link after the purchase is complete May 30, 2025
@quochuydev quochuydev force-pushed the feat/support-return-url-payment-link branch from fcc9226 to e7dcac1 Compare May 30, 2025 08:42
@quochuydev quochuydev force-pushed the feat/support-return-url-payment-link branch from e7dcac1 to c6d91cb Compare May 30, 2025 10:04
@quochuydev
Copy link
Author

Hi @matv-stripe could you have a look at it?

@matv-stripe
Copy link
Collaborator

Thank you @quochuydev ! I will take a look look into running a set of Braintrust evals this week to test this out more, thank you 🙇

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.

Support redirect URL in payment link after the purchase is complete
2 participants