PayPo Banner¶
Availability:
The paypo_banner
module is used to render a banner for PayPo payment method on a product or bundle card.
Module source code¶
{% set paymentPayPoSettings = ObjectApi.getPayPoBannerSettings() %}
{% set isOnlinePaymentBannerVisible = paymentPayPoSettings.getOnlinePaymentIsActive() and paymentPayPoSettings.getOnlinePaymentBannerEnabled() %}
{% set isP24BannerVisible = paymentPayPoSettings.getP24IsActive() and paymentPayPoSettings.getP24BannerEnabled() %}
{% if isOnlinePaymentBannerVisible or isP24BannerVisible %}
<iframe src="https://static.paypo.pl/badge/" width="100%" height="100%" frameborder="0" scrolling="no"></iframe>
{% endif %}