Stripe checkout is not working
If you want to charge $1 you must set amount=100 as stripe uses cents.
You created the charge with
amount=1. As the error message explicitly says, the minimum amount is 50 cents. All amounts in Stripe's API are in cents, so
amount must be at least
50 when creating a charge.