Skip to content

Conversation

@yshmarov
Copy link

@yshmarov yshmarov commented Apr 4, 2025

with **options now you can pass additional params to the checkout session.

session = credit_pack.create_checkout_session(
  current_organization,
  allow_promotion_codes: true,
  success_url: organization_credits_url(current_organization),
  cancel_url: organization_credits_url(current_organization)
)

fixes #3

@yshmarov yshmarov mentioned this pull request Apr 5, 2025
8 tasks
@claude claude bot mentioned this pull request Dec 27, 2025
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.

credit_pack.create_checkout_session should support checkout_session_params

1 participant