简体   繁体   English

自定义条纹支付按钮

[英]Customizing Stripe Pay Button

I have added a stripe pay button using the following javascript:我使用以下 javascript 添加了条纹支付按钮:

<script src="https://checkout.stripe.com/checkout.js" class="stripe-button"
ta-key="{{ key }}"
data-description="Select"
data-amount="10000"
data-locale="auto">
</script>

I got the pay button but i can't customize it.If anyone can refer me any post of links please let me know.我得到了支付按钮,但我无法自定义它。如果有人可以向我推荐任何链接帖子,请告诉我。

If you want to use your own button and customize it, you can do a custom integration of legacy Checkout: https://stripe.com/docs/legacy-checkout#integration-custom如果您想使用自己的按钮并对其进行自定义,可以对旧版 Checkout 进行自定义集成: https://stripe.com/docs/legacy-checkout#integration-custom

However you shouldn't be using legacy Checkout at all as it's been deprecated.但是,您根本不应该使用旧版 Checkout,因为它已被弃用。 Instead you should look into using new Checkout instead, which is easier to implement and a better experience for your users: https://stripe.com/docs/payments/checkout相反,您应该考虑使用新的 Checkout,它更易于实施,为您的用户提供更好的体验: https://stripe.com/docs/payments/checkout

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM