简体   繁体   中英

Customizing Stripe Pay Button

I have added a stripe pay button using the following 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

However you shouldn't be using legacy Checkout at all as it's been deprecated. 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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