New to the community? Welcome! Please read our Community Rules and Guidelines
Pay, shop, and do even more on the PayPal appGet the App
No amount of documentation can stand in for the value of correct typescript type definitions. Please add them in to your js-based SDKs.
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
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 ?
©1999-2023 PayPal, Inc. All rights reserved.