#_erichu

1 messages · Page 1 of 1 (latest)

ivory fjordBOT
late cargo
mild geode
#

Thanks for your reply. I don't have it know but will definately investigate

late cargo
#

You're likely not going to want to do that (hence why people using PSPs like Stripe which handle the PCI compliance)

mild geode
#

So if I have the PCI compliance, is it possilbe with Stripe?

late cargo
#

Sure

mild geode
#

May I ask how? Is there any custom API?

late cargo
#

Once you've validated your PCI compliance with us, your account would be gated to access the API parameters that allow you to pass raw card data

#

Otheriwse it's private

mild geode
#

I see, thanks!

#

Hi, I'm using Stripe Payment Element to handle payments, I would like to know if there is any way to set a default value to this field? SInce I already have user's name in address field, it doesn't make sense to ask them to input their name again:
Image

late cargo
mild geode
ivory fjordBOT
quaint basin
#

There isn't a way to prefill it unfortunately. Typically for things like this, the pattern that I have seen is to hide that field from the Payment Element and then to pass in your value for that field to the confirm call when you are confirming the intent

#

Though you can still do the solution that I mentioned. That would involve setting fields.BillingDetails.name to never https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-fields-billingDetails-name
And providing the name in confirmParams.payment_method_data.billing_details when confirming https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-confirmParams-payment_method_data-billing_details

mild geode
#

Ah, so you mean it's been added just recently?

quaint basin
#

As far as I know, yes

mild geode
#

Great! Thanks for your help!

#

Can I customize the font used in payment element though?

#

I want to use DM Sans

late cargo
mild geode
#

Great, got it, that's all my questions.