Skip to content

Return the expected type from the address/transactions/<address> endp…#1108

Merged
Klakurka merged 1 commit intoPayButton:masterfrom
Fabcien:fix_transaction_address_interface
Feb 19, 2026
Merged

Return the expected type from the address/transactions/<address> endp…#1108
Klakurka merged 1 commit intoPayButton:masterfrom
Fabcien:fix_transaction_address_interface

Conversation

@Fabcien
Copy link
Collaborator

@Fabcien Fabcien commented Feb 19, 2026

…oint

This returns a view of the raw database but the client expects a simplified and preparsed output, which makes more sense.

This updates the interface accordingly, using the existing function that is exactly designed for this.

This only break the coded added in PayButton/paybutton#617 since the output of the api call was unused before.

Test Plan:
The api tests are still green.

…oint

This returns a view of the raw database but the client expects a simplified and preparsed output, which makes more sense.

This updates the interface accordingly, using the existing function that is exactly designed for this.

This only break the coded added in PayButton/paybutton#617 since the output of the api call was unused before.

Test Plan:
The api tests are still green.
Fabcien added a commit to Fabcien/paybutton that referenced this pull request Feb 19, 2026
This require PayButton/paybutton-server#1108 to work properly. The server PR fixes the returned type of getAddressDetails so we don't need to convert anymore.

Test Plan:
Run against the updated server, add some logs if desired, and check the payment is successful on mobile.
@Klakurka Klakurka merged commit b3d5838 into PayButton:master Feb 19, 2026
2 checks passed
@Fabcien Fabcien deleted the fix_transaction_address_interface branch February 19, 2026 16:17
Fabcien added a commit to Fabcien/paybutton that referenced this pull request Feb 19, 2026
This require PayButton/paybutton-server#1108 to work properly. The server PR fixes the returned type of getAddressDetails so we don't need to convert anymore.

Test Plan:
Run against the updated server, add some logs if desired, and check the payment is successful on mobile.
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

Comments