Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed payment terms info #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.9.6]

### Fixed

- Fixed payment terms info

## [1.9.5]

### Added
Expand Down
2 changes: 1 addition & 1 deletion tpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function __construct()
{
$this->name = 'tpay';
$this->tab = 'payments_gateways';
$this->version = '1.9.5';
$this->version = '1.9.6';
$this->author = 'Krajowy Integrator Płatności S.A.';
$this->need_instance = 0;
$this->ps_versions_compliancy = [
Expand Down
1 change: 0 additions & 1 deletion views/templates/hook/blik.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
<div class="tpay-wrapper tpay-blik-wrapper" data-payment-type="blik">
{if $blik_type === 'redirect'}
{l s='You will be redirected to the payment gateway.' mod='tpay'}
{include file="module:tpay/views/templates/hook/regulations.tpl"}
{else}
<form action="{$blik_moduleLink}" method="POST" id="tpay-blik-form">
<input type="hidden" name="cart_id" class="blikId" value="{$blik_order_id}"/>
Expand Down
4 changes: 3 additions & 1 deletion views/templates/hook/card.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@
<input type="hidden" name="redirect_type" id="redirect_type" value="{$card_type}"/>
</div>

{include file="module:tpay/views/templates/hook/regulations.tpl"}
{if $card_type === 'widget'}
{include file="module:tpay/views/templates/hook/regulations.tpl"}
{/if}
</form>

<script type="text/javascript">
Expand Down
4 changes: 3 additions & 1 deletion views/templates/hook/payment.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
{l s='Please choose payment gateway' mod='tpay'}
</span>
</div>
{include file="module:tpay/views/templates/hook/regulations.tpl"}
{if $transfer_type === 'widget'}
{include file="module:tpay/views/templates/hook/regulations.tpl"}
{/if}
{else}
{l s='No active payment gateways' mod='tpay'}
{/if}
Expand Down
Loading