Skip to content

Commit

Permalink
fix(api): remove refund support
Browse files Browse the repository at this point in the history
  • Loading branch information
epoundor committed Mar 12, 2024
1 parent 8a8f5a0 commit 8a212a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Empty file modified deploy/deploy.sh
100644 → 100755
Empty file.
10 changes: 5 additions & 5 deletions includes/class-wc-kkiapay-gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,18 +176,18 @@ public function is_valid_for_use()

public function admin_options()
{
?>
<h4>
<strong><?php printf(__('Optional: To avoid situations where bad network makes it impossible to verify transactions, set your webhook URL <a href="%1$s" target="_blank" rel="noopener noreferrer">here</a> to the URL below<span style="color: red"><pre><code>%2$s</code></pre></span>', 'woo-paystack'), 'https://app.kkiapay.me/dashboard/developers/keys', WC()->api_request_url('Wc_Kkiapay_Gateway_Webhook')); ?></strong>
</h4>
<?php
if (!$this->is_valid_for_use()) {
echo '<div class="inline error"><p><strong>' . __('Kkiapay Payment Gateway Disabled', 'kkiapay-woocommerce') . '</strong>: ' . $this->msg . '</p></div>';
} else {
echo '<table class="form-table">';
$this->generate_settings_html();
echo '</table>';
}
?>
<h4>
<strong><?php printf(__('Facultatif : Pour éviter les situations où un mauvais réseau rend impossible la vérification des transactions, définissez l\'URL de votre webhook <a href="%1$s" target="_blank" rel="noopener noreferrer">ici</a> sur l\'URL ci-dessous. <span><pre><code>%2$s</code></pre></span>', 'kkiapay-woocommerce'), 'https://app.kkiapay.me/dashboard/developers/keys', WC()->api_request_url('Wc_Kkiapay_Gateway_Webhook')); ?></strong>
</h4>
<?php
}

public function process_payment($order_id)
Expand Down
Binary file modified kkiapay-woocommerce_v2.4.0.zip
Binary file not shown.

0 comments on commit 8a212a3

Please sign in to comment.