DEV Community

Discussion on: How to collect payments with PayPal in your React application

Collapse
 
dagoosemancomet profile image
DaGoose

How would you pass a dynamic variable to the 'amount' section instead of using 449? Seems when I try it with a setState it maintains a default value.