This week we worked on adding the code directly into the backend of the site, instead of embedding a p5.js sketch. We’re encountering a few errors, but we’re fairly close on figuring this out. We’re going to talk to Anthony Pinter soon to see if he could help out with this issue.
We were able to get the Stripe purchase button to work with the JavaScript implementation The user easily be able to purchase a shirt as a alternative for now instead of hooking up the Printful API
<script async
src="<https://js.stripe.com/v3/buy-button.js>">
</script>
<stripe-buy-button
buy-button-id="buy_btn_1MwAgJA6axpFwHXnbb32u5zN"
publishable-key="pk_live_51Mw9Q1A6axpFwHXn63kBcAGTMz7q0cETwmAOcjrJVjcCMSZCElUjFch3fcqwMkfrzhemFH81pdEixFd1wrwOjAu100n3ev3RBM"
>
</stripe-buy-button>
Progression of storyboard