cancel
Showing results for 
Search instead for 
Did you mean: 

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

Options
aj126
New Community Member
Posted on

 

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

2 REPLIES 2

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

Options
warningclo
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

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

Options
Graal72
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 ?

Haven't Found your Answer?

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