Your implementation looks great to me!
I have personally not set up Stripe payments on a Retool App but it looks like @bobthebear made this work a few months ago: