New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] buttons style shape & loadScript result #490
Comments
for 1., can you share the options you are providing to |
|
the first question is my mistake. our company account has not applied for the payment yet. |
ok, thank you! |
Library used
paypal-js
version 8.0.2/8.0.5
🐞 Describe the Bug
1.function
loadScript
seems to returnPayPalNamespace
, but i cant useCardFields
2.There is no 'sharp' option for the shape field(buttons.d.ts/PayPalButtonsComponentOptions), but it is in the document, and 'sharp' option works.
🔬 Minimal Reproduction
😕 Actual Behavior
This is the result returned by loadScript
🤔 Expected Behavior
1.The first problem I want it return the object with
CardFields
, then i can use paypal && paypal.CardFields()2.The second problem can be solve by ts-ignore,but i want to know whether you want to cancel the sharp option or just forget to update the type
🌍 Environment
➕ Additional Context
The text was updated successfully, but these errors were encountered: