Please publish typescript types for "@paypal/checkout-server-sdk" package

aj126
New Community Member

 

No amount of documentation can stand in for the value of correct typescript type definitions.  Please add them in to your js-based SDKs.

Login to Me Too
2 REPLIES 2

warningclo
Contributor
Contributor

hey @aj126 (and whom else this might concern),

 

I had been facing the same issue as you; for over a year, now, I had been working on my own types for the paypal buttons.

yesterday I came across this official repo which contains valid types from paypal themselves.

 

you can just add this line to your types.ts and you're good to go!

export * from '@paypal/paypal-js/types/apis/orders'

 

all the best,

damian

Login to Me Too

Graal72
Contributor
Contributor

Hi 

 

I am facing the same problem... is there any solution yet.

 

Where can I find the types for Paypal checkout sdk call server 

The package seems unmaintained too, is it still the right way to do a server integration ?

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.