Luehang / react-paypal-button-v2

An easy and simple to use React button component to implement PayPal Checkout with Smart Payment Buttons V2 (Version 2).
https://luehangs.site/lue_hang/projects/react-paypal-button-v2
MIT License
273 stars 81 forks source link

[BUG] Missing default props on sdk request, when option prop #46

Open SirSerje opened 4 years ago

SirSerje commented 4 years ago

To Do First

Software Package Version: 2.6.1

Describe the bug Missing default props on sdk request, when option prop specified

To Reproduce

  1. Pass option prop to component without default option props clientId or currency
  2. Try to run component

Expected behavior Correct component run: button is shown && clickable

Actual behavior Component can't get Paypal SDK

Desktop (please complete the following information):