Skip to content

Commit

Permalink
Merge branch 'feature/PPM-287' into release/1.7.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusztwardowski committed Oct 16, 2024
2 parents f821ec7 + 39d72c0 commit 7aaa391
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
3 changes: 2 additions & 1 deletion classes/PaynowPaymentOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ public function generate(): array

$this->context->smarty->assign([
'action' => PaynowLinkHelper::getPaymentUrl(),
'data_processing_notices' => $this->data_processing_notices
'data_processing_notices' => $this->data_processing_notices,
'data_paynow_plugin_version' => $this->module->version,
]);

$isAnyPblEnabled = false;
Expand Down
3 changes: 2 additions & 1 deletion paynow.php
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,8 @@ public function hookPayment($params)
'cta_text' => $this->getCallToActionText(),
'logo' => $this->getLogo(),
'paynow_url' => PaynowLinkHelper::getPaymentUrl(),
'data_processing_notices' => $gdpr_notices ?? null
'data_processing_notices' => $gdpr_notices ?? null,
'data_paynow_plugin_version' => $this->version,
]);

$digital_wallets = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@
{/if}
{/foreach}
</div>
{/if}
{/if}

{if $data_paynow_plugin_version}
<span data-paynow-plugin-version="{$data_paynow_plugin_version}"></span>
{/if}
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@
</div>
</div>
</div>
{/if}
{/if}

{if $data_paynow_plugin_version}
<span data-paynow-plugin-version="{$data_paynow_plugin_version}"></span>
{/if}

0 comments on commit 7aaa391

Please sign in to comment.