<div data-controller="stripe" data-stripe-public-key-value="<%= @stripe_publishable_key %>" data-stripe-session-id-value="<%= @session_id %>"> <!-- Checkout button that will trigger Stripe Checkout --> <button id="checkout-button">Checkout</button> </div>