Please publish typescript types for "@paypal/checkout-server-sdk" package
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No amount of documentation can stand in for the value of correct typescript type definitions. Please add them in to your js-based SDKs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- How to redirect user to paypal checkout form for card payment? in PayPal Payments Standard
- patch_payment_resource returns generic 422 on second request in REST APIs
- "duplicate typename 'AuthorizationStatus' detected" error while using oapi-codegen in REST APIs
- Sandbox: Billing Plan Override is not allowed due to insufficient permission error in Sandbox Environment
- 403 vs 400 difference in golang client 1.20 and 1.21 for API usage on openidconnect/v1/tokenservice in REST APIs