Skip to content

fix(Payment): update global scope and currency formatting#345

Open
celikerde wants to merge 1 commit into0.xfrom
bugfix/currency-discrepancy-issue
Open

fix(Payment): update global scope and currency formatting#345
celikerde wants to merge 1 commit into0.xfrom
bugfix/currency-discrepancy-issue

Conversation

@celikerde
Copy link
Copy Markdown
Collaborator

@celikerde celikerde commented Apr 1, 2026

  • Adjusted the query to correctly reference the currency_id instead of price_id.
  • Updated the amountFormatted method to use the new currency_iso_4217 property for formatting amounts.

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Types of changes

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, etc)
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to our CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit

Description

Related Issue

- Adjusted the query to correctly reference the currency_id instead of price_id.
- Updated the amountFormatted method to use the new currency_iso_4217 property for formatting amounts.
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