我尝试像这样向我的项目中添加stripe
支付系统:
<form action="/home/charge" method="POST">
<script
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="${stripePublicKey}"
data-image="https://orig00.deviantart.net/6c3b/f/2018/149/5/6/pubg_512x512_icon_by_rengatv-dccvgi0.png"
data-name="Test"
data-description="Balance"
data-amount="${amount}"
data-currency="${currency}"
data-locale="auto">
</script>
</form>
并传递值:
modelAndView.getModel().put("amount", 50*100);
但是在条纹假发上,我看到了