Are there any examples -- that work -- of dynamically updating the amount of the transaction in a React PayPal button? So far, every example uses a hard-coded amount, and none of my attempts to make it changeable have worked. As soon as I change anything, the entire thing fails, the PayPal window opens for 3 seconds and then closes, and the console gives me an error "/v2/checkout/orders returned status 401" Are there any *working* examples of React PayPal buttons with changeable $amounts?
... View more