VivaPayments / API

Index of Viva Wallet open source projects on GitHub.
139 stars 162 forks source link

Smarty error in 1.6 versions #2537

Closed Eolia closed 3 months ago

Eolia commented 3 months ago

Hi, in \vivawalletsmartcheckout\views\templates\front\payment_return.tpl, version 1.3.2, you can't use "module:" because "module" ressource is unknow in 1.6. "Trapped exception during execution hook displayPaymentReturn in module vivawalletsmartcheckout: Unknown resource type 'module'" So, it's preferable to write distincts tpl like you did for order_confirmation tpls.

{if $status == 'failed'} {if $prestashop_version neq '1.6'} {include file="module:vivawalletsmartcheckout/views/templates/front/failure.tpl"} {else} {include file='./failure.tpl'} {/if} {else} ...

VivaWalletCustomerSupport commented 3 months ago

Hello @Eolia,

Thank you for your suggestion. We always consider our customers' feedback for future improvements. We will review your request and possibly, it will be available in a future release.

Kind regards, Viva E-commerce Support Team

VivaWalletCustomerSupport commented 3 months ago

Hello @Eolia,

This ticket will close for now. Please don't hesitate to raise a new ticket if you need further assistance.

Kind regards, Viva E-commerce Support Team