Skip to content

Support additional fees for payment requests #53

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

Merged
merged 20 commits into from
Feb 13, 2024
Merged

Conversation

jeffyanta
Copy link
Collaborator

No description provided.

@jeffyanta jeffyanta added the wip label Feb 7, 2024
@jeffyanta jeffyanta changed the title Update request stores to include fee metadata Support additional fees for payment requests Feb 7, 2024
@jeffyanta jeffyanta removed the wip label Feb 13, 2024
@jeffyanta jeffyanta merged commit 254f94e into main Feb 13, 2024
@jeffyanta jeffyanta deleted the additional-fees branch February 13, 2024 20:36
jeffyanta added a commit that referenced this pull request Feb 23, 2024
* Update request stores to include fee metadata

* Add basis points to payment request fee model

* Ensure consistent fee ordering from DB store

* Pull in v1.10.0 protobuf APIs

* Support additional fee takers in SubmitIntent

* Add edge case tests for SubmitIntent when using additional fee takers

* Ensure additional third party fees are subtracted from RECEIVED chat messages

* Support additional fee takers in messaging service

* Add happy path tests for additional fees in messaging service

* Add edge case tests for additional fees in messaging service

* Improve error messaging to distinguish between fee taker and payment destination

* Update merchant chats to consider fees to Code accounts

* Be more strict about wasteful fees

* Max fee basis points is now configurable

* Add tests for new fee edge cases in messaging service

* Update scheduler test to ensure multiple fees are handled

* Add local simulation test to ensure we catch invalid fee structures due to fluctuating exchange rates

* Add client-side assertions on fee server parameter expectations

* Add a test for getMicroPaymentReceiveExchangeDataByOwner

* Fix micropayment check in getMicroPaymentReceiveExchangeDataByOwner
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