Skip to content

Add buttons to copy merchant credentials in the Settings tab (4483) #3561

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

Conversation

danieldudzic
Copy link
Collaborator

Summary

This PR will add a copy functionality to connection status fields, allowing users to easily copy merchant credentials for debugging and integration purposes.

Screenshots

Before After
copy_before after_copy

Testing Steps

  1. Navigate to: Settings tab > Connection status
  2. Verify that copy buttons appear next to Merchant ID, Email address, and Client ID fields
  3. Click a copy button and verify:
  • Tooltip changes to "Copied!" and icon becomes a checkmark
  • Screen reader announces "Copied to clipboard"
  • Content is actually copied to clipboard (paste somewhere to verify)
  • After 1 second, button returns to default state

Copy link
Collaborator

@Narek13 Narek13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this. LGTM

@InpsydeNiklas InpsydeNiklas merged commit 7c8532d into trunk Aug 4, 2025
11 checks passed
@InpsydeNiklas InpsydeNiklas deleted the PCP-4483-add-a-button-to-copy-merchant-credentials-in-settings-tab branch August 4, 2025 17:33
@InpsydeNiklas InpsydeNiklas added this to the 3.1.0 milestone Aug 4, 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.

3 participants