Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd

In the file payment_stripe_template.xml of the stripe plugin we can find the line of code : 

 t-attf-id="o_stripe_express_checkout_container_{{provider_sudo.id}}"            

t-att-data-provider-id=".id"

t-att-data-provider-code=".code"         

t-att-data-stripe-publishable-key="provider_sudo._stripe_get_publishable_key()"        t-att-data-country-code="provider_sudo.company_id.country_id.code"            class="w-100 mt-2"/>

I was wondering how was the "t-att-data-stripe-publishable-key" created and how it was calling the function to replicate it in my own plugin

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
apr. 24
1901
1
apr. 24
2441
2
jan. 24
1655
0
jan. 24
1205
2
jun. 23
4749