There isn’t a lot of commercetools content available online so I’m going to document some of the issues that I’ve faced while working with CT and the solutions that I have found.

When integrating CT GraphQL with Adyen Payments, it requires you to set a custom field with the makePaymentRequest field. However, its not as straightforward as a simple assignment operation.

This post abstracts a lot of the details around Adyen-CT integration, a lot of which I would consider the easy part.

However, it solves a very important step — the documentation on which is not clear and the errors aren’t helpful.

Creating a payment

Everything else is quite straightforward except line 27. It’s this combination of commas and stringification that will get this part to work.

Updating payment

Same story here. Focus on line 12.

--

--