News for hackers. Stuff that matters.
Re:Nobody wants touch-screen glove box latches by tzs on Sunday October 30, 2022 @11:42AM (#33395402)
That reminds me of payment processors. They usually have SDKs for PHP, Ruby, JavaScript, and maybe others. Often these just end up doing a simple HTTPS post of name=value pairs.

It is almost always easier and cleaner to use their HTTPS name=value post interface directly if they officially allow it and support it.

Often you are going to get your payment information from the user in that format anyway, such as via a post from your checkout page, or as a row of named columns when you retrieve on file payment information from your database.

In that case submitting name=value pairs mostly just requires translating the field names from your checkout page or column names from database to the names that the payment processor uses, plus adding a few more name=value pairs.

Going through their language specific SDKs often requires building up some ridiculous object oriented mess.

There are no comments on this comment yet.