#sukatoa

1 messages · Page 1 of 1 (latest)

wooden flintBOT
flat lynx
#

Hey thanks. just wondering what could have been done to get the values from the custom field we created (test html file)

rancid sundial
#

Hi, let me help you with this.

#

Otherwise we recommend to use the Payment Element.

flat lynx
#

hhmmmm, we wanted to split the card number, expiry date and cvv, do you have a working example? I might overlooked the samples on the Stripe site

rancid sundial
flat lynx
#

We would really prefer if Stripe js would generate the elements for us. But looks like we haven't found a working example yet for the requirement

rancid sundial
#

What do you mean by "generate the elements"?

flat lynx
#

Does the UI can be controlled 100% within the Appearance API?

rancid sundial
#

Depends what you mean by "100%".

#

But it's recommended to use Payment Element instead.

flat lynx
#

This is the current one, we just used the following to generate it via Stripe.js:

let stripe = window.Stripe(this.clientKey);
let elements = stripe.elements();
card = elements.create("card", { hidePostalCode: true, style: style, disableLink: true });
card.mount("#card-element");

#

and now we may need to break it down into something like this

#

Does Payment Element able to have these fields separated?

rancid sundial
#

Payment Element has the fields separate

flat lynx
#

And we able to remove/disable/hide the other fields we don't want, correct?

rancid sundial
#

Some of them, yes

flat lynx
#

THank you Vanya

rancid sundial
#

Happy to help.