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

Add Client side create button to the dev app #900

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

Conversation

ugochukwu-stripe
Copy link

Summary

Add Create Client Side switch to the dev test application, when enabled it’ll create payment intents using the terminal sdk, and when disabled it’ll create payment intents via the stripe api. Client side create is always disabled for p400 readers as it doesn’t support that functionality.

Motivation

So testing create PI -> retrievePI -> collect path does not require code changes.

Testing

  • I tested this manually
  • I added automated tests

Documentation

Select one:

  • I have added relevant documentation for my changes.
  • This PR does not result in any developer-facing changes.
    Screenshot 2025-03-21 at 7 39 24 PM

When enabled it’ll create payment intents using the terminal sdk, and when disabled it’ll create  payment intents via the stripe api. Client side create is always disabled for p400 readers as it doesn’t support that functionality.

Signed-off-by: Ugo Chukwu <[email protected]>
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.

1 participant