#shaz_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1426174344803127410
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hey, can you send a screenshot, or let me know where/when exactly this message appears?
yes here below the card details
hey there! taking over for my colleague
thanks for sharing this
can you confirm if you've integrated with Stripe using the Payment Element, or the Checkout Sessions API?
payment elemetn
thanks for confirming, just looking into a few things
this can be customised in Checkout as described here:
https://docs.stripe.com/payments/checkout/customization/policies?payment-ui=embedded-form#customize-payment-method-reuse-agreement-and-subscription-terms
I'm just confirming if we have an equivalent for the Payment Element
i think that custom text is just adding below the payment button
the thing im saying is the notice about charging your card for future paymetns
which is true but it sounds like we will randomly charge the customer
want to reword it so like we say we save youe card for any future purchases you take part in, we wont take your money without your consent etc
yep that makes sense, but I'm afraid this text can't be directly customised
what you can do, however, is disable it: https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-terms
that way you can instead show your desired text elsewhere on the page
ooh that would work, but can you be more specific. on the link where does it let me change that specific one?
just first, it's worth noting that these terms are important from a compliance standpoint, so if you're removing them, you need to be aware that you're responsible for ensuring that your own terms meet your obligations, so if you're uncertain, it's best to consult a legal advisor first
yes 100% aware of that
just looking for a way to make the language more clear if anything, we have our lawyer
but having said that, you'd just need to change your code where your site creates the Payment Element, to include options.terms.card: 'never'
similar to how the options are written in this example: https://docs.stripe.com/payments/payment-element#options
I should also note that this field would need to be set for each payment method type that you want to remove this text for
sure thing!
nice! glad that helped
apprecaite it thanks