refactor: Feature/payloadfields#1260
Conversation
| buyer_profile_hash = buyer_profile_hash ?? trackingDetails.BUYER_PROFILE_HASH; | ||
| buyer_profile_valid = buyer_profile_valid ?? trackingDetails.BUYER_PROFILE_VALID; | ||
| partner_attribution_id = partner_attribution_id ?? stats.bn_code; | ||
| partner_attribution_id = partner_attribution_id ?? stats.partner_attribution_id; |
There was a problem hiding this comment.
Does partner_attribution_id already exist on the stats object?
There was a problem hiding this comment.
correct me if I am wrong, but you will also need to update bn_code in stats.js to be partner_attribuition_id or its going to be undefined when it looks for stats.partner_attribuition_id.
Location in stats.js
There was a problem hiding this comment.
to add on to that, do we also need to update all other locations that are using bn_code like here or just in logger @JordanClemons ?
There was a problem hiding this comment.
@JordanClemons @perco12 Resolved the comments. Please review and let me know the changes.
## [1.77.0](v1.76.1...v1.77.0) (2026-02-03) ### Features * add experiment gating for US and GB preapproval badge ([#1270](#1270)) ([237fe7e](237fe7e)) ### Bug Fixes * country-specific margins for preapproval label in checkout header ([#1266](#1266)) ([aed68db](aed68db)) ### Code Refactoring * Feature/payloadfields ([#1260](#1260)) ([cae48fe](cae48fe)) * finalize message type values ([#1252](#1252)) ([49d63d7](49d63d7))
|
🎉 This PR is included in version 1.77.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |

Description
Update all references to payload fields to match the name that gets sent in the request.
Locate and identify usage of old fpti key names in the logger for paypal-messaging-components.
Screenshots
Testing instructions