#shr7024

1 messages · Page 1 of 1 (latest)

hardy berryBOT
#

Hello shr7024, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
shr7024, 1 day ago, 11 messages

urban reef
#

I'm using stripe javascript to show the form for adding card details but it comes as a single row

Is it possible to make it into proper form like the ones in example

#

The form comes as a single line

cinder shard
urban reef
#

I'm using php

cinder shard
#

It doesn't matter, it's only differs on the frontend.

urban reef
#

This form is for users to update their card details

#

And set that card as default for further payments

cinder shard
urban reef
#

Ok

#

The code that I had implemented is the same in doc

#

Only thing is that it shows the form as row

cinder shard
#

It means you used the old Card Element instead of Payment Element

#

The doc I shared is using the Payment Element

urban reef
#

Ok let me check

#

This is the code I had implemented earlier

cinder shard
#

I see elements.create('card', ...)
You need elements.create('payment', ...)

urban reef
#

Ok