Maybe this helps: https://www.wix.com/velo/forum/community-discussion/example-stripe-payment-processing