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

TODO: future development backlog #21

Open
rizdaprasetya opened this issue May 15, 2020 · 0 comments
Open

TODO: future development backlog #21

rizdaprasetya opened this issue May 15, 2020 · 0 comments

Comments

@rizdaprasetya
Copy link
Contributor

rizdaprasetya commented May 15, 2020

TODO:

  • replace all occurence Veritrans php lib with Midtrans php lib (for consistency)
  • consider not limiting custom separated payment button on payment.tpl to bank transfer va methods, it should support all methods
    {if isset($MT_ENABLED_CUSTOMVA_BTN) && $MT_ENABLED_CUSTOMVA_BTN == 1}
    {if in_array('bca', $MT_LIST_CUSTOMVA)}
    <div class="row">
    <div class="col-xs-12">
    <p class="payment_module">
    <a class="bankwire" href="{$link->getModuleLink('midtranspay', 'payment', ['feature' => 'MT_ENABLED_CUSTOMVA_BTN','bank' => 'bca'], true)}" title="Pay Via Midtrans BCA Bank Transfer">
    Bank Transfer BCA
    </a>
    </p>
    </div>
    </div>
    {/if}
    {if in_array('mandiri', $MT_LIST_CUSTOMVA)}
    <div class="row">
    <div class="col-xs-12">
    <p class="payment_module">
    <a class="bankwire" href="{$link->getModuleLink('midtranspay', 'payment', ['feature' => 'MT_ENABLED_CUSTOMVA_BTN','bank' => 'mandiri'], true)}" title="Pay Via Midtrans Mandiri Bank Transfer">
    Bank Transfer Mandiri
    </a>
    </p>
    </div>
    </div>
    {/if}
    {if in_array('permata', $MT_LIST_CUSTOMVA)}
    <div class="row">
    <div class="col-xs-12">
    <p class="payment_module">
    <a class="bankwire" href="{$link->getModuleLink('midtranspay', 'payment', ['feature' => 'MT_ENABLED_CUSTOMVA_BTN','bank' => 'permata'], true)}" title="Pay Via Midtrans Mandiri Bank Transfer">
    Bank Transfer Permata
    </a>
    </p>
    </div>
    </div>
    {/if}
    {if in_array('other_va', $MT_LIST_CUSTOMVA)}
    <div class="row">
    <div class="col-xs-12">
    <p class="payment_module">
    <a class="bankwire" href="{$link->getModuleLink('midtranspay', 'payment', ['feature' => 'MT_ENABLED_CUSTOMVA_BTN','bank' => 'other_va'], true)}" title="Pay Via Midtrans Any Bank Transfer">
    Bank Transfer (Transfer From Any Bank)
    </a>
    </p>
    </div>
    </div>
    {/if}
@rizdaprasetya rizdaprasetya changed the title TODO: replace Veritrans php lib with Midtrans php lib TODO: future development backlog Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant