DEV Community

Discussion on: Have you used Stripe to collect payments?

stradivario profile image
Kristiqn Tachev

In the first time Paddle looks good when you look at their documentation it is lacking. I also can see that they are using old Callback method for their API so i am expecting too much hassle inside their code internally.

Also i really don't want to make every method coming from their API wrapped inside Promise

new Promise((resolve, reject) => {
   Paddle.method((e, data) => {
       return reject(e)
     } else {
      return resolve(data)
Enter fullscreen mode Exit fullscreen mode

Does that looks good to you guys ? For a payment platform ?