Hacker News new | ask | show | jobs
by ghoomketu 1714 days ago
Paypal's API is one of the biggest nightmare I have to deal with lately(1). As much as Paypal has sucked, at least it was super simple to integrate before: just set amount, freq, period, return url and ipn url and that was pretty much it and that's why even noobs loved PP and integrated it everywhere.

The new API otoh, no it has to render button dynamically using Javascript, with some very confusing REST api, API keys and tokens and a sandbox mode and endpoints URLs which change frequently for no reason. Even the page down button does not work on the API age, just to give you an idea how bad this whole thing is.

It's like the team who made the API and the sellers (the end-user) have never spoken once to each other.

(1) https://developer.paypal.com/docs/api/overview/

1 comments

I'm glad I'm not the only one who thinks this! I inherited a site with PayPal and it uses just a single link that takes you to PayPal and returns you after the transaction. Plus an endpoint to handle IPN pushes. I've looked into updating to the current API but it's just so confusing and awful, it took me a couple of days just to understand the new workflow.