#x-elements
1 messages ยท Page 1 of 1 (latest)
Hi there ๐ for building custom flows you'll want to leverage Stripe Elements:
https://stripe.com/docs/payments/elements
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
oh
how would i make
the modal though
๐
That's going to depend on the how you're building your site, what framework you're using, etc.
nodejs
and html
its because its for my portfolio
i want them to click the donate div
and it opens a card element
in a modal
that says donatoe 5$
donate*
That's pretty far removed from what we do here, but have you tried following a tutorial like this?
https://www.w3schools.com/howto/howto_css_modals.asp
yes the card modal just shows card
its hard bc i dont know alot about html and css i have just been using github examples my friend designed the site for me i am more backend
OH WAIT I SEE
i just need to define the div and mount
the payment element
this will be hard but i will try later today
I was just about to ask if you were trying to get a modal appear (what I thought you were asking) or how to populate it with the necessary elements (what I know think you were asking about).
yeah thats also whatim asking
๐ we're here to help in case you run into any problems when trying to implement and mount the elements.