-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #142 from culqi/release-3.0.1
Release 3.0.1
- Loading branch information
Showing
10 changed files
with
136 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,37 @@ | ||
<?php | ||
$tarjeta = $methods['tarjeta'] ?? ''; | ||
$yape = $methods['yape'] ?? ''; | ||
$billetera = $methods['billetera'] ?? ''; | ||
$bancaMovil = $methods['bancaMovil'] ?? ''; | ||
$agente = $methods['agente'] ?? ''; | ||
$cuetealo = $methods['cuetealo'] ?? ''; | ||
?> | ||
<label for="fullculqi_logo"> | ||
<div> | ||
<input id="fullculqi_methods_tarjeta" name="fullculqi_options[methods][tarjeta]" <?php echo ($methods['tarjeta'] == 'yes') ? 'checked' : '' ; ?> type="checkbox" value="yes"> Tarjetas débito/credito | ||
<input id="fullculqi_methods_tarjeta" name="fullculqi_options[methods][tarjeta]" <?php echo ($tarjeta == 'yes') ? 'checked' : '' ; ?> type="checkbox" value="yes"> Tarjetas débito/credito | ||
</div> | ||
<div> | ||
<input id="fullculqi_methods_yape" name="fullculqi_options[methods][yape]" <?php echo ($methods['yape'] == 'yes') ? 'checked' : '' ; ?> type="checkbox" value="yes"> Yape | ||
<input id="fullculqi_methods_yape" name="fullculqi_options[methods][yape]" <?php echo ($yape == 'yes') ? 'checked' : '' ; ?> type="checkbox" value="yes"> Yape | ||
</div> | ||
<div> | ||
<input id="fullculqi_methods_wallets" name="fullculqi_options[methods][billetera]" <?php echo ($methods['billetera'] == 'yes') ? 'checked' : '' ; ?> type="checkbox" value="yes"> Billeteras móviles | ||
<input id="fullculqi_methods_wallets" name="fullculqi_options[methods][billetera]" <?php echo ($billetera == 'yes') ? 'checked' : '' ; ?> type="checkbox" value="yes"> Billeteras móviles | ||
<span class="tool" data-tip="Tus clientes pueden pagar con Yape, Plin y las principales billeteras móviles del país." tabindex="2"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-question-circle-fill" viewBox="0 0 16 16"> | ||
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.496 6.033h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286a.237.237 0 0 0 .241.247zm2.325 6.443c.61 0 1.029-.394 1.029-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94 0 .533.425.927 1.01.927z"/></svg> | ||
</span> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-question-circle-fill" viewBox="0 0 16 16"> | ||
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.496 6.033h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286a.237.237 0 0 0 .241.247zm2.325 6.443c.61 0 1.029-.394 1.029-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94 0 .533.425.927 1.01.927z"/></svg> | ||
</span> | ||
</div> | ||
<div> | ||
<input id="fullculqi_methods_bancaMovil" name="fullculqi_options[methods][bancaMovil]" <?php echo ($methods['bancaMovil'] == 'yes') ? 'checked' : '' ; ?> type="checkbox" value="yes"> Banca móvil o internet | ||
<input id="fullculqi_methods_bancaMovil" name="fullculqi_options[methods][bancaMovil]" <?php echo ($bancaMovil == 'yes') ? 'checked' : '' ; ?> type="checkbox" value="yes"> Banca móvil o internet | ||
</div> | ||
<div> | ||
<input id="fullculqi_methods_agents" name="fullculqi_options[methods][agente]" <?php echo ($methods['agente'] == 'yes') ? 'checked' : '' ; ?> type="checkbox" value="yes"> Agentes y bodegas | ||
<input id="fullculqi_methods_agents" name="fullculqi_options[methods][agente]" <?php echo ($agente == 'yes') ? 'checked' : '' ; ?> type="checkbox" value="yes"> Agentes y bodegas | ||
</div> | ||
<div> | ||
<input id="fullculqi_methods_quotedbcp" name="fullculqi_options[methods][cuetealo]" <?php echo ($methods['cuetealo'] == 'yes') ? 'checked' : '' ; ?> type="checkbox" value="yes"> Cuotéalo BCP | ||
<input id="fullculqi_methods_quotedbcp" name="fullculqi_options[methods][cuetealo]" <?php echo ($cuetealo == 'yes') ? 'checked' : '' ; ?> type="checkbox" value="yes"> Cuotéalo BCP | ||
<span class="tool" data-tip="Paga en cuotas y sin tarjetas de crédito con Cuotéalo" tabindex="2"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-question-circle-fill" viewBox="0 0 16 16"> | ||
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.496 6.033h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286a.237.237 0 0 0 .241.247zm2.325 6.443c.61 0 1.029-.394 1.029-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94 0 .533.425.927 1.01.927z"/></svg> | ||
</span> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-question-circle-fill" viewBox="0 0 16 16"> | ||
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.496 6.033h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286a.237.237 0 0 0 .241.247zm2.325 6.443c.61 0 1.029-.394 1.029-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94 0 .533.425.927 1.01.927z"/></svg> | ||
</span> | ||
</div> | ||
</label> | ||
<span id="errorpaymentmethods" class="form-text text-muted" style="display: block; color: red"></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<label for="fullculqi_notpay"> | ||
<input type="text" readonly="true" id="fullculqi_notpay" class="regular-text" name="fullculqi_options[notify_pay]" value="<?php echo site_url( 'fullculqi-api/webhooks' ); ?>"/><br> | ||
<span class="form-text text-muted"> Si no iniciaste sesión con tu cuenta de CulqiPanel, tienes que configurar esta URL.</span> | ||
<span class="form-text text-muted"> Si no iniciaste sesión con tu cuenta de CulqiPanel, tienes que configurar esta URL colocando estas credenciales:</span><br> | ||
<b>Usuario:</b> <?php echo $GLOBALS['username']; ?> | ||
<b>Password:</b> <?php echo $GLOBALS['password'];; ?> | ||
</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<style> | ||
.fullculqi_password{ | ||
display:none; | ||
} | ||
</style> | ||
|
||
<label for="fullculqi_password"> | ||
<input id="fullculqi_password" name="fullculqi_options[password]" type="hidden" value="<?php echo $GLOBALS['password']; ?>"> | ||
</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<style> | ||
.fullculqi_username{ | ||
display:none; | ||
} | ||
</style> | ||
<label for="fullculqi_username"> | ||
<input id="fullculqi_username" name="fullculqi_options[username]" type="hidden" value="<?php echo $GLOBALS['username']; ?>"> | ||
</label> |