1 - pass my props in the PayPalButton component:
options={{ clientId: '<...>', debug: false, commit:true, }}
2- after inspecting elemet i get this:
<script type="text/javascript" src="https://www.paypal.com/sdk/js?client-id=<...>&commit=false&debug=true" data-uid-auto="..."></script>
i have just downloaded the package:
1 - pass my props in the PayPalButton component:
options={{ clientId: '<...>', debug: false, commit:true, }}
2- after inspecting elemet i get this:
<script type="text/javascript" src="https://www.paypal.com/sdk/js?client-id=<...>&commit=false&debug=true" data-uid-auto="..."></script>
3- why ?