GitHub repository: AhmedEldessouki/stripe-machine-example
Description: An animated stripe checkout using XState and React. This uses the Stripe API and the Stripe Elements tools to create an actual payment. You can swap out the test keys for your own keys and and accept payments with this code.