#marve
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
Could you please share a screenshot where you see this text?
Right below country, when my options are:
const options = {
setup_future_usage: 'off_session'
business: "RocketRides"
};
From the stripe docs business name is: 'The name of your business. Your business name will be used to render mandate text for some payment methods'.
Is it just empty there?
O no, its my business name from my stripe account, just wanted to show where it was
It should be: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-business-name
const options = {
business: { name: "RocketRides" }
};
I also tried that
But its not changing it
Background: im using react and passing options like this:
<Elements stripe={stripePromise} options={options}>
I think this exact text is using your Stripe Dashboard business name
But business name should change it cause the text im seeing is the mandate
I guess ill have to do something like terms[card]='never'
Cause this is a marketplace, I wanted to make sure I could display the sellers name
Are you using Stripe Connect?
Yes
What kind of charges are you using?
Direct charges will use the name of the Connected account then. Isn't it what you're looking for?
Yes but im seeing the text I sent before in paymentelement with the name of my company, would like to be able to customise the text
my company
You mean the Platform account?
Could you please share the PaymentIntent ID pi_xxx?
I just tried using this and it correctly updated the name.
O really? Is it because im passing the options like this then:
<Elements stripe={stripePromise} options={options}>
I think im mixing the two options elements
Indeed, all fixed! Created a new options object:
<PaymentElement options={options}/>
Im so sorry, this was such a stupid mistake from my part
Sorry for delay. No worries, this wasn't obvious actually.