#fundamentals

All the troubles of 3DS: strategies for dealing with them

The 3D Secure (3DS) flow is one of the most bug-prone aspects of implementing a payment method. It seems easy (after all, the bank does the heavy lifting) but it can cause serious issues within an application’s checkout process. Lost orders, price mismatches, orders pending forever. Sound familiar?

Optimize like a pro: Memoization in Javascript

Memoization is a caching technique that consists of saving the result of an expensive function and returning it if the same inputs are provided again. In short, it’s like having a “no smoking” sign inside a restaurant instead of going to each customer and asking them not to light their cigarettes.