#unibit

1 messages · Page 1 of 1 (latest)

fresh edgeBOT
robust summit
#

Hey there

#

Are you following a specific guide here?

#

Overall creating a Token client-side is our legacy integration

#

Can you tell me what you are trying to do exactly and maybe I can help guide you with our recommended path?

deft ferry
#

am trying to use stripe elements on simple asp.net web form

robust summit
deft ferry
#

yes, but this is .net MVC sample, as i said we are having simple asp.net web forms

#

we got samples from your git repository here

#

but these samples does not include server side implementation

robust summit
#

Gotcha, overall those samples are pretty old but they do work

#

I'd recommend using createPaymentMethod client-side instead of createToken as that is our newer API

#

Then you create/confirm a PaymentIntent on your server and pass the PaymetnMethod ID to that to create the payment.

deft ferry
#

really cant follow you, do you provide full samples client and server side

robust summit
#

We have samples in our docs. But we don't have samples of creating a PaymentMethod via Stripe.JS as that isn't our recommended flow.

deft ferry
#

actually after very many tests we manage to have a working prototype of what we need but the problem is its impossible to style the card element