Payment Service Provider
For the Payment Service Provider (PSP) integration to work properly in Customer Service Center, Shop API interactions require code to connect Customer Service Center with the B2C Commerce PSP cartridge. To add or update a payment method after each event in Customer Service Center, “dw.order.hooks.PaymentHooks” is called within an encapsulated transaction.
To register a payment hook, complete the following registration.
To initiate the authorize logic in the PSP cartridge, include the code in