简体   繁体   中英

How do I create custom form using Stripe

I'm trying to integrate stripe in my website but i'm having issues and don't know where to start. I have installed the library with composer but now I just do not know what to do as I want to create a payment form which will have two fields one for the customers name and the other for their email address as well as the other fields for credit card number etc.

Anyone help me? Thank you.

yes you can do this using stripe js

https://stripe.com/docs/stripe-js/reference#including-stripejs

you just have to do is pass the proper Id to the input fields so stripe js will get all those details on form submit

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