#sergio_sanchez
1 messages ยท Page 1 of 1 (latest)
can you tell me more about "only the modal option directly from a link in our website?" ?
sure
if you see the component it has basically the following behaviour:
we show the prices, with a Klarna label and learn more... the learn more if you click you see a modal with further clarifications
I would like to konw if it is possible to only use the modal, and integrate it directly in a link in our website
in other words
I still don't understand the modal that you are talking about
do you have a screenshot?
this is shown when you click here
is it possible to call directly to the event that show the modal, using a link in our website, instead of using the full payment method messaging component?
Hi! I'm taking over this thread.
ok ๐
If I understand correctly, you just want the link "learn more" and nothing else from the message element?
exactly, as we have already a component in our website with "price" we would like to integrate only the modal in our existing component
so we would like to use our own link "learn about klarna" and when the user click on the link, we show your modal
Got it. Then no that doesn't look possible.
so let say that if we want to use that modal, we need to do it from the message element
On possible workaround would be to use the messaging element, and add custom CSS rules to try to hide all the elements you don't want to show to users.
ahh ok It could be and option, do you any documentation about the possible custom CSS rules for that component?
or at least the CSS classes we can use
There are some stuff mentionned here: https://stripe.com/docs/payments/payment-method-messaging#appearance