I'm using cybersource Payment gateway for my Magento 2 install, the
gateway require some Merchant Data fields to be populated with the
oeder, one of the fields is the product category, currently i'm using
the below method: $name = $categories = []; f...