The provided payment processor here is stripe, the code is commented out so that it won't send an actual or fake payment to stripe when users are testing the app.
Feel free to add your own payment method
When you put items on the cart, it is saved on the session, so if you created an account after placing items on the cart it should be persisted and saved on your newly created account.
Thanks!