#Sr45

1 messages · Page 1 of 1 (latest)

junior radishBOT
harsh edge
lyric wyvern
#

their it more about payment intent but i need how to create token or create paymentMethod

harsh edge
#

that guide i provided uses the SetupIntent, and it creates a PaymentMethod

lyric wyvern
#

ok can i customize the card Field or card Form

harsh edge
#

what exactly do you want to customize?

lyric wyvern
#

i need card field flex in vertical order

#

can i do payment method creation using card Field element data

harsh edge
#

sure, you can customize the card field or card form, and yes, you can create a PaymentMethod using card field element

lyric wyvern
#

share sample

harsh edge
#

i don't have a sample on hand, that's something you're going to need to build yourself

lyric wyvern
#

i dont want to use setupIntent can i create createToken with cardElement

#

share any solution on this

#

in my app flow is
1.collect card details from card element and tokenize the card data then post the token to my backend
2.their i will create new customer with the token posted and then new subscription

harsh edge
#

Tokens is deprecated. Why would you want to use createToken?

lyric wyvern
#

any suggesstions

vast violet
#

Hi @lyric wyvern I'm taking over

lyric wyvern
#

one more thing in createToken params not allowed to pass card details then how set card number and cvc

vast violet
#

You don't need to pass the card details in, Stripe SDK will automatically get them from CardField or CardForm

lyric wyvern
#

ok

#

thanks jack also can you say options to customize the card field elements in vertical order make width resize

vast violet
#

I don't see an option to re-arrange card field elements

lyric wyvern
#

is there any way in cardForm

#

to create custom textinput elements

vast violet
#

No I'm afraid