• Resolved wildsna

    (@wildsna)


    ??? ????? ??????????? ???? ???? ??????? ??, ??? ??????????? ?????? abcd ????? ? ????? ?????? ?? ????????? ???? ???? ??????? ??????? ???? ??? ????? ??? ??????

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,
    You can do it by yourself editing bkash.php file. Go to line 250 and remove the below code:

    $validate_id = preg_match( '/^\d+$/', $match_id );

    Then, at line 261 replace the below code:

    if( !empty($bkash_transaction_id) && $validate_id == false )
    	wc_add_notice( __( 'Only number is acceptable', 'stb'), 'error' );

    with:

    if (!empty($bkash_transaction_id) && !ctype_alnum($match_id))
    	wc_add_notice( __( 'Only numbers & letters are acceptable', 'stb'), 'error' );

    Done!

    Hi,
    You can do it by yourself editing bkash.php file. Go to line 250 and replace with my given code:

    $validate_id = preg_match( '/^\d+$/', $match_id );

    With:
    $validate_id = preg_match( '/[A-Za-z0-9]+/', $match_id );

    and follow the rest process as described Real Web Care (@moviehour)

    Done

    • This reply was modified 7 years, 2 months ago by Arif Uddin.
    Plugin Contributor Zinan Nadeem

    (@developerzinan)

    Thanks @Arif_Uddin. Its updated in latest version.

    Also thanks to you for your latest update.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘????? ??????????? ????’ is closed to new replies.