Support » Plugin: درگاه پرداخت بانک ملت ووکامرس » Button disappeared in `checkout/order-pay` path

  • mehranz91



    There is some problem with using wp_kses in your codes that disappears button with “پرداخت” label in /checkout/order-pay and empties all form html attributes there!

    So please update your code in class-wc-gateway-bankmellat.php and make all of array items to have empty array as their values!
    For example change line 207 to these codes:

    echo wp_kses($form,[
      'form'=>['action' => [],'method' => [],'class' => [],'id' => []],
      'input'=>['type' => [],'name' => [],'class' => [],'id' => [],'value' => []],
      'a'=>['class' => [],'href' => []]
    • This topic was modified 4 months ago by mehranz91.
  • You must be logged in to reply to this topic.