Skip to content

[3.23] Add gift card payment method display in order transactions #6396

Draft
lkostrowski wants to merge 1 commit intomainfrom
lkostrowski/giftcard-payment-method
Draft

[3.23] Add gift card payment method display in order transactions #6396
lkostrowski wants to merge 1 commit intomainfrom
lkostrowski/giftcard-payment-method

Conversation

@lkostrowski
Copy link
Member

@lkostrowski lkostrowski commented Mar 5, 2026

Add GiftCardPaymentMethod component to display Saleor gift card payment details (icon + masked code) in order transaction cards. Update GraphQL fragment to fetch SaleorGiftcardPaymentMethodDetails with code field. Add Storybook story for the new payment method.

  • Move to staging schema / feature flag or keep open till 3.23 released

Add GiftCardPaymentMethod component to display Saleor gift card
payment details (icon + masked code) in order transaction cards.
Update GraphQL fragment to fetch SaleorGiftcardPaymentMethodDetails
with code field. Add Storybook story for the new payment method.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 5, 2026 17:28
@changeset-bot
Copy link

changeset-bot bot commented Mar 5, 2026

⚠️ No Changeset found

Latest commit: 465687a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

❌ Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 43.13%. Comparing base (664d662) to head (465687a).

Files with missing lines Patch % Lines
...ents/OrderTransaction/OrderTransaction.stories.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             main    #6396     +/-   ##
=========================================
  Coverage   43.13%   43.13%             
=========================================
  Files        2524     2525      +1     
  Lines       44006    44012      +6     
  Branches    10414    10011    -403     
=========================================
+ Hits        18980    18985      +5     
- Misses      23704    24986   +1282     
+ Partials     1322       41   -1281     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@lkostrowski lkostrowski changed the title Add gift card payment method display in order transactions [3.23] Add gift card payment method display in order transactions Mar 6, 2026
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.

2 participants