#Gotech

1 messages · Page 1 of 1 (latest)

still pikeBOT
merry nymph
nova kayak
#

its card element

#

this is form we are using:

#

<form onSubmit={handleSubmit}>
<label>
Card number
<CardNumberElement
options={options}
/>
</label>
<label>
Expiration date
<CardExpiryElement
options={options}
/>
</label>
<label>
CVC
<CardCvcElement
options={options}
/>
</label>
<Button loading={processing} type="submit" disabled={!stripe || isLoading || processing || disabled} className="yellow-btn float-right text-[13px] md:text-sm leading-4 inline-flex items-center cursor-pointer transition ease-in-out duration-300 font-semibold font-body text-center justify-center border-0 border-transparent rounded-md text-black px-5 md:px-6 lg:px-8 py-4 md:py-3.5 lg:py-4 hover:shadow-cart w-full sm:w-auto">Confirm & Approved Payment</Button>
</form>

merry nymph
#

Thanks for sharing, I'm seeing that you are using split Card Element

#

Do I have to register customer first from API and then submit card details or is there any other way
It will depends on your flow and your UX requirements, you can do all of this in a single form or you split them,
Also, if the customer is existing then do I still register customer on stripe?
If you want to keep track on Stripe side, you should register the customer too in Stripe

nova kayak
#

Ok. We are going to add full form where we will ask customer to enter full name, card details, billing details & zipcode.
Can we send all these details with transaction instead of registering customer on stripe.

merry nymph
nova kayak
#

thanks for it. Just last thing, if we just send owner details instead of registering customer , then do you think its fine with stripe.

merry nymph
#

I don't think that I understand 100% your suggestion. But it depends mostly with your need. It's up to you to configure Stripe in order to track for/with you your customers details or not and what details you want to keep track in your Stripe Dashboard/Integration

nova kayak
#

Ok, thanks for helping me out.