Announcement regarding currency SDK migration

Background

As enterprise team is currently working on deprecating the old entcurr SDK and migrating it to the new CCP SDK, we from payment team will also migrate the usage the classes that might be needed by product team to unblock them.

Migrated class

We've migrated these classes in monorepo to deprecate the usage of old CurrencyValueHelper and replace it with PaymentCurrencyService

Landed to develop check:check: :

Legacy (soon to be deprecated) classes check:check: (landed to develop) :

While we already moved those classes, we didn't migrate any of the product-specific related class (*ProductName-RenderingBehavior), we expect each product team to be doing their own migration for those classes.

If you need to initialize the PaymentCurrencyService on your top level, please follow these steps :

FAQ

Q : Why CommerceClientServiceEmbedded is considered as legacy?
A : From payment team's perspective, we see this class as deprecated and we won't maintain those classes anymore, we also already move the usage to  CommerceRenderingServiceEmbedded, so please try to migrate your usage as well, you can have a look at this diff (for paypapi) as your reference.
However, we'll also migrate the CommerceRenderingServiceEmbedded and its related classes seeing it might be too much effort for product team to work on both CCP migration and rendering behavior migration at the same time.

Q : I have another class that needs to be migrated by payment team for the CCP SDK enablement
A : Please contact me (@zaky) to have further discussion regarding your needs.