#ganeshparmar__98323

1 messages · Page 1 of 1 (latest)

mighty pumiceBOT
tardy kraken
#

hi! as far as I understand your question the answer is yes, if we need some information, and you're using a current integration such as the PaymentElement, it will be collected.

rancid cloak
#

how to do that

tardy kraken
#

how to do what exactly?

rancid cloak
#

I am using this web element payment card

#

but i am getting this error

#

if it require billing address then stripe should give the ui

#

but it is not providing that ui

tardy kraken
#

what exact Element are you using, what does your code look like?

rancid cloak
#

wait

#

<form id="payment-form">

                <!-- Add your form fields here -->
                <div id="card-element">
                  <!-- A Stripe Element will be inserted here. -->
                </div>
              
                <!-- Used to display form errors. -->
                <div id="card-errors" role="alert"></div>
                <div id="card-Success" role="alert" ></div>
                <div>
                  <button class="btn btn-primary" type="submit" id="stripeBtn">Pay Message Fee</button>
                </div>
              </form>
tardy kraken
#

yeah that is just the basic Card Element, it only collects the card number

rancid cloak
tardy kraken
rancid cloak
#

One question is this dynamic like i don't want to show billing address form to customer which really don't require

#

Only want to those from whom stripe reallly wants the billing address

tardy kraken
#

it's dynamic yes

rancid cloak
#

i have changes the code to this but still it doesn't give me option to enter billing detalis and it gives error same above

tired dome
#

hi! I'm taking over this thread.

#

what's the exact error you see now?

rancid cloak
#

my payment card doesn't show billing details

#

Hi you there?

tired dome
#

please be patient, having alook

rancid cloak
#

Ohhh Ok

#

i thought you got offline

tardy kraken
#

guess I was wrong then and it doesn't work for this India address requirement.

rancid cloak
#

but if i create a form it will not be dynamic anymore like for india it require billing other it may not require thus resulting in bad user experience

tardy kraken
#

well it doesn't need to be dynamic since you will always have to collect this address

#

but yes, it's not ideal. I'd suggest using Checkout if you can since it will just take care of everything hopefully

rancid cloak
#

We can use checkout can we use it in a div inside an iframe which is shown on another company website