Plugin Directory

Changeset 3368328


Ignore:
Timestamp:
09/26/2025 08:55:05 AM (6 months ago)
Author:
grilabs
Message:

API V3 support, remove nonce verification and more.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tami-payment/trunk/lib/TamiPaymentClient.php

    r3368323 r3368328  
    562562    private function checkCallbackHash( $hash ): bool {
    563563
    564         if ( ! isset( $_GET['nonce'] ) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_GET['nonce'] ) ), \Tami_WooCommerce_GW::CALLBACK_ENDPOINT ) ) {
     564        /*if ( ! isset( $_GET['nonce'] ) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_GET['nonce'] ) ), \Tami_WooCommerce_GW::CALLBACK_ENDPOINT ) ) {
    565565            throw new \Exception( 'Nonce could not verified!' );
    566         }
     566        }*/
    567567
    568568        $hashStr = "";
Note: See TracChangeset for help on using the changeset viewer.